@charset "UTF-8";
/* Profile layout – изнесено от layouts/profile.blade.php + бивши critical стилове от app-head-assets */
/* Шрифт: Montserrat от fonts-site / --font-sans (без отделна editorial система) */
.profile-layout-wrap {
  background: transparent;
  min-height: 60vh;
  width: 100%;
  box-sizing: border-box;
  padding-top: 1rem;
  --site-breadcrumb-spacing-after: 0.75rem;
}

@media (min-width: 768px) {
  .profile-layout-wrap {
    padding-top: 1.25rem;
    --site-breadcrumb-spacing-after: 1rem;
  }
}
.profile-layout-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(100%, var(--site-max-width, 1160px));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-breadcrumb-gutter, 1.5rem);
  padding-right: var(--site-breadcrumb-gutter, 1.5rem);
  box-sizing: border-box;
  position: relative;
}

/* Bootstrap `.container` задава по-малък max-width — презаписваме за профил / известия / създай съдържание */
.container.profile-layout-body {
  max-width: var(--site-max-width, 1160px);
  padding-left: var(--site-breadcrumb-gutter, 1.5rem);
  padding-right: var(--site-breadcrumb-gutter, 1.5rem);
}

@media (min-width: 992px) {
  .profile-layout-body,
  .container.profile-layout-body {
    max-width: var(--site-max-width, 1160px);
  }
}
/* Единни нива на текста + основен блок main */
.profile-main {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 0 1.25rem;
  --prf-accent: #6b8e23;
  --prf-accent-hot: #5a771c;
  --prf-font-sans: var(--font-sans, 'Montserrat', system-ui, sans-serif);
  --prf-font-display: var(--font-sans, 'Montserrat', sans-serif);
  --prf-text: 0.9375rem;
  --prf-text-lh: 1.55;
  --prf-text-secondary: 0.875rem;
  --prf-text-secondary-lh: 1.5;
  --prf-text-label: 0.72rem;
  --prf-text-label-lh: 1.35;
  font-family: var(--prf-font-sans);
  padding-top: 0;
}

/* Трохички: единен отстъп и стил на всички профилни страници */
.profile-main nav.site-breadcrumb-strip,
.profile-main nav.prf-breadcrumb {
  display: block;
  margin-top: 0;
  margin-bottom: var(--site-breadcrumb-spacing-after, 0.75rem);
}

/* Директно в layout (над табовете): компактен отстъп до лентата */
.profile-main > nav.site-breadcrumb-strip,
.profile-main > nav.prf-breadcrumb {
  margin-bottom: 0.5rem;
}

.profile-main nav.prf__crumb {
  font-weight: 500;
}

.profile-main nav.prf__crumb a,
.profile-main nav.prf__crumb a.text-muted {
  color: var(--prf-accent, #6b8e23);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.profile-main nav.prf__crumb a:hover,
.profile-main nav.prf__crumb a.text-muted:hover {
  color: var(--prf-accent-hot, #5a771c);
  border-bottom-color: var(--prf-accent, #6b8e23);
}

@media (min-width: 768px) {
  .profile-main nav.site-breadcrumb-strip,
  .profile-main nav.prf-breadcrumb {
    margin-bottom: var(--site-breadcrumb-spacing-after, 1rem);
  }
}
@media (max-width: 575.98px) {
  .profile-main .d-flex.align-items-center.justify-content-between {
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .profile-main form .form-control[style*=max-width],
  .profile-main form .form-select[style*=max-width] {
    max-width: 100% !important;
    box-sizing: border-box;
  }
}
.form-check.form-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0;
  min-height: 1.5rem;
}

.form-check.form-switch .form-check-input {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
}

.form-check.form-switch .form-check-label {
  padding-left: 0;
  cursor: pointer;
}

.form-check:not(.form-switch) {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: 0;
  margin-bottom: 0;
  min-height: 1.25em;
}

.form-check:not(.form-switch) .form-check-input {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0.15em !important;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
}

.form-check:not(.form-switch) .form-check-label {
  padding-left: 0;
  cursor: pointer;
}

table .form-check:not(.form-switch),
.table .form-check:not(.form-switch),
.table-admin .form-check:not(.form-switch) {
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

label.form-check:not(.form-switch) {
  align-items: center;
  cursor: pointer;
}

label.form-check:not(.form-switch) > .form-check-input {
  margin-top: 0 !important;
}

table input.form-check-input[type=checkbox],
.table input.form-check-input[type=checkbox],
.table-admin input.form-check-input[type=checkbox] {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  position: relative;
  left: 0;
  vertical-align: middle;
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
}

table td:has(> input.form-check-input[type=checkbox]),
.table td:has(> input.form-check-input[type=checkbox]),
.table-admin td:has(> input.form-check-input[type=checkbox]) {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.form-check.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0;
  margin-right: 0.75rem;
  margin-bottom: 0;
  vertical-align: middle;
  min-height: 1.25em;
}

.form-check.form-check-inline .form-check-input {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
}

label.form-check-label > .form-check-input,
label.form-check-label:has(> .form-check-input) {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
}

label.form-check-label:has(> .form-check-input) {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.forum-topic-col-check input.form-check-input[type=checkbox],
input.form-check-input.forum-inline-thread-id,
input.form-check-input.forum-inline-post-id {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  position: relative;
  left: 0;
  vertical-align: middle;
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
}

.forum-topic-col-check {
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Profile show entry */
/* Profile show page — изнесено от profile/show.blade.php (T47) */
#profile-show.prf {
  --prf-ink: #143026;
  --prf-ink-soft: #2a3d34;
  --prf-muted: #6d746e;
  --prf-paper: #ffffff;
  --prf-paper-2: #faf7f1;
  --prf-accent: #6b8e23;
  --prf-accent-hot: #5a771c;
  --prf-line: rgba(26, 48, 36, 0.1);
  --prf-board: #ffffff;
  font-family: var(--font-sans, "Montserrat", system-ui, sans-serif);
  color: var(--prf-ink);
  max-width: 1120px;
  margin-inline: auto;
  padding-bottom: 1rem;
  min-width: 0;
}

/* Размер на трохичките: глобално в app (.breadcrumb-sonovik + премахнат .small) */
.prf__crumb {
  font-weight: 500;
}

.prf__crumb a {
  color: var(--prf-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.prf__crumb a:hover {
  border-bottom-color: var(--prf-accent);
}

.prf__alert {
  border-radius: 0 !important;
  border-left: 4px solid currentColor !important;
}

.prf__mast {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
  margin-bottom: 0.5rem;
  position: relative;
}

.prf__mast::before {
  display: none;
}

.prf__mast-grid {
  display: grid;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem 0.85rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .prf__mast-grid {
    grid-template-columns: minmax(11.5rem, 14.5rem) 1fr;
    gap: 1rem;
    padding: 0.85rem 1rem 0.9rem;
    align-items: start;
  }
}
.prf__col-id {
  text-align: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .prf__col-id {
    text-align: left;
  }
}
.prf__avatar-frame {
  position: relative;
  display: inline-block;
  transform: rotate(-2.5deg);
  transition: transform 0.25s ease;
}

.prf__mast:hover .prf__avatar-frame {
  transform: rotate(0deg);
}

.prf__avatar-img,
.prf__avatar-fallback {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border: 2px solid rgba(26, 48, 36, 0.14);
  border-radius: 50%;
  display: block;
  background: var(--prf-paper-2);
}

.prf__avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--prf-font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--prf-accent);
}

.prf__avatar-edit {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--prf-accent);
  color: #fff !important;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.15s, transform 0.15s;
}

.prf__avatar-edit:hover {
  background: var(--prf-accent-hot);
  color: #fff !important;
  transform: scale(1.05);
}

.prf__facts {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  text-align: inherit;
}

.prf__fact {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  min-width: 0;
}

.prf__fact dt {
  font-size: var(--prf-text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prf-muted);
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.prf__fact dd {
  margin: 0;
  font-size: var(--prf-text);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.prf__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  background: var(--prf-paper-2);
  border: 1px solid var(--prf-line);
  font-size: var(--prf-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.prf__badges {
  margin-top: 1rem;
  text-align: inherit;
}

.prf__badges-label {
  display: block;
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prf-muted);
  margin-bottom: 0.4rem;
}

.prf__badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .prf__badges-list {
    justify-content: flex-start;
  }
}
.prf__badge {
  font-size: var(--prf-text-label);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border: 1px solid var(--prf-line);
  color: var(--prf-ink-soft);
}

.prf__badges-all {
  font-size: var(--prf-text-secondary);
  align-self: center;
  color: var(--prf-accent);
  text-decoration: none;
  font-weight: 600;
}

.prf__badges-all:hover {
  text-decoration: underline;
}

.prf__eyebrow {
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--prf-accent);
  margin-bottom: 0.35rem;
}

.prf__title {
  font-family: var(--prf-font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--prf-ink);
}

.prf__tagline {
  font-size: 1.05rem;
  color: var(--prf-muted);
  font-style: italic;
  margin: 0 0 1rem;
  max-width: 42rem;
}

.prf__about {
  margin: 1.25rem 0;
  padding-top: 1rem;
  border-top: 2px dashed var(--prf-line);
}

.prf__about-heading {
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prf-muted);
  margin-bottom: 0.5rem;
}

.prf__about-body {
  font-size: var(--prf-text);
  line-height: 1.65;
  color: var(--prf-ink-soft);
}

.prf__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.prf__follow-meta {
  font-size: var(--prf-text-secondary);
  line-height: var(--prf-text-secondary-lh);
  color: var(--prf-muted);
  width: 100%;
}

@media (min-width: 576px) {
  .prf__follow-meta {
    width: auto;
  }
}
.prf__btn {
  border-radius: 8px !important;
  font-weight: 600;
  font-size: var(--prf-text-secondary);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--prf-ink) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.prf__btn--primary {
  background: var(--prf-ink) !important;
  color: #fff !important;
}

.prf__btn--primary:hover {
  background: var(--prf-accent) !important;
  border-color: var(--prf-accent) !important;
  color: #fff !important;
  transform: none;
  box-shadow: none;
}

.prf__btn--ghost {
  background: transparent !important;
  color: var(--prf-ink) !important;
}

.prf__btn--ghost:hover {
  background: var(--prf-paper-2) !important;
  transform: none;
  box-shadow: none;
}

.prf__vault {
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  background: #faf7f1;
  border: 1px solid rgba(26, 48, 36, 0.1);
  border-radius: 8px;
}

.prf__vault-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.prf__vault-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--prf-text-secondary);
  color: var(--prf-ink-soft);
  line-height: 1.35;
  min-width: 0;
}

.prf__vault-item i {
  color: var(--prf-accent);
  flex-shrink: 0;
}

.prf__vault-title {
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--prf-ink);
}

.prf__vault-title--sm {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.prf__vault-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--prf-text);
  color: var(--prf-ink-soft);
  margin-bottom: 0.35rem;
}

.prf__vault-row i {
  color: var(--prf-accent);
  margin-top: 0.15rem;
}

.prf__vault-row--activity {
  align-items: flex-start;
}

.prf__vault-activity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.prf__activity-intro {
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prf-muted);
}

.prf__activity-stamp {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--prf-line);
  width: 100%;
  font-size: var(--prf-text);
  line-height: 1.35;
}

.prf__activity-sep {
  color: rgba(20, 17, 13, 0.35);
  font-weight: 700;
  margin-inline: 0.1rem;
}

.prf__activity-kvrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0;
  margin: 0;
  padding: 0.35rem 0 0;
  border-top: 1px dashed var(--prf-line);
  width: 100%;
}

.prf__activity-kv {
  margin: 0;
  font-size: var(--prf-text);
  line-height: 1.35;
}

.prf__activity-kv + .prf__activity-kv {
  border-left: 1px solid rgba(20, 17, 13, 0.18);
  padding-left: 0.85rem;
  margin-left: 0.35rem;
}

.prf__activity-k {
  display: inline-block;
  min-width: 2.75rem;
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prf-muted);
  margin-right: 0.35rem;
}

.prf__activity-v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--prf-ink-soft);
}

.prf__activity-unit {
  font-weight: 500;
  font-size: var(--prf-text-secondary);
  color: var(--prf-muted);
}

@media (max-width: 380px) {
  .prf__activity-kv + .prf__activity-kv {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px dashed var(--prf-line);
    padding-top: 0.35rem;
    flex-basis: 100%;
  }
}
.prf__activity-missing {
  color: var(--prf-muted);
  font-size: var(--prf-text-secondary);
  line-height: var(--prf-text-secondary-lh);
}

.prf__vault-hint {
  font-size: var(--prf-text-secondary);
  line-height: var(--prf-text-secondary-lh);
  color: var(--prf-muted);
  margin: 0.35rem 0 0;
}

.prf__referral-input .form-control {
  border-radius: 0;
  border: 2px solid var(--prf-line);
}

.prf__referral-bar {
  height: 6px;
  border-radius: 0;
  background: rgba(20, 17, 13, 0.08);
}

.prf__referral-bar .progress-bar {
  background: var(--prf-accent);
}

.prf__board {
  margin-bottom: 0.5rem;
}

.prf__board-inner {
  background: var(--prf-board);
  color: var(--prf-ink);
  padding: 0.75rem 0.85rem 0.65rem;
  border: 1px solid var(--prf-line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.prf__board-inner--locked {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.prf__board-lock {
  font-size: 1.5rem;
  opacity: 0.7;
}

.prf__metrics {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .prf__metrics {
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 0.65rem;
  }
}
.prf__metric {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .prf__metric {
    text-align: left;
    justify-content: flex-start;
  }
}
.prf__metric--wide {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: left;
  padding: 0 0.5rem;
  border-left: 1px solid var(--prf-line);
  border-right: 1px solid var(--prf-line);
  min-width: 0;
}

@media (min-width: 768px) {
  .prf__metric--wide {
    justify-content: flex-start;
  }
}
@media (max-width: 767.98px) {
  .prf__metric--wide {
    border: none;
    border-top: 1px solid var(--prf-line);
    border-bottom: 1px solid var(--prf-line);
    padding: 0.55rem 0;
  }
}
.prf__metric-icon {
  font-size: 1.35rem;
  color: var(--prf-accent-hot);
  flex-shrink: 0;
}

.prf__metric-value {
  display: inline;
  font-family: var(--prf-font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--prf-ink);
  flex-shrink: 0;
  white-space: nowrap;
}

.prf__metric-value--sm {
  font-size: 1rem;
  font-family: var(--prf-font-sans);
  font-weight: 700;
}

.prf__metric-label {
  display: inline;
  font-size: var(--prf-text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--prf-muted);
  margin-top: 0;
  white-space: nowrap;
}

.prf__star {
  color: #f0c14a;
  font-size: 1rem;
}

.prf__board-foot {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--prf-line);
  font-size: var(--prf-text-secondary);
  color: var(--prf-muted);
  line-height: 1.4;
}

.prf__board-foot-title {
  margin: 0 0 0.35rem;
  font-size: var(--prf-text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prf-ink-soft);
  line-height: 1.3;
}

.prf__board-dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
}

@media (min-width: 768px) {
  .prf__board-dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
  }
}
.prf__board-dl-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--prf-line);
  border-radius: 8px;
  background: var(--prf-paper-2);
}

.prf__board-dl-row:last-child {
  border-bottom: none;
}

.prf__board-dl dt {
  margin: 0;
  font-size: var(--prf-text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--prf-muted);
  line-height: 1.3;
}

.prf__board-dl dd {
  margin: 0;
  font-size: var(--prf-text);
  font-weight: 700;
  color: var(--prf-ink);
  line-height: 1.2;
}

.prf__board-dl-hint {
  display: block;
  font-weight: 400;
  font-size: var(--prf-text);
  color: var(--prf-muted);
  margin-top: 0.2rem;
  line-height: var(--prf-text-lh);
}

.prf__board-hint {
  font-size: var(--prf-text-secondary);
  color: var(--prf-muted);
  margin: 0.75rem 0 0;
  font-weight: 500;
}

.prf-works {
  margin-top: 0;
}

.prf-works__head {
  margin-bottom: 0.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prf-works__head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  min-width: 0;
}

.prf-works__create-btn {
  font-size: var(--prf-text);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
}

.prf-works__h {
  font-family: var(--prf-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--prf-ink);
  max-width: 40rem;
  min-width: 0;
}

.prf-works__split {
  display: grid;
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
}

@media (min-width: 992px) {
  .prf-works__split {
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 0.85rem;
  }
}
.prf-works__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.25rem;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  min-width: 0;
  max-width: 100%;
  overscroll-behavior-x: contain;
}

@media (min-width: 992px) {
  .prf-works__nav {
    flex-direction: column;
    overflow: visible;
    position: sticky;
    top: 1rem;
  }
}
.prf-works__tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(26, 48, 36, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--prf-ink);
  font-size: var(--prf-text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

@media (max-width: 991.98px) {
  .prf-works__tab {
    width: auto;
    min-width: 9rem;
    max-width: min(14rem, 78vw);
  }
}
@media (min-width: 992px) {
  .prf-works__tab {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}
.prf-works__tab:hover {
  background: var(--prf-paper-2);
  transform: none;
}

.prf-works__tab.active {
  background: #1a3024;
  border-color: #1a3024;
  color: #fff;
}

.prf-works__tab-icon {
  font-size: 1.1rem;
  opacity: 0.85;
}

.prf-works__tab.active .prf-works__tab-icon {
  color: var(--prf-accent-hot);
}

.prf-works__tab-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.prf-works__tab-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prf-works__tab-count {
  font-family: var(--prf-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--prf-accent);
}

.prf-works__panel {
  background: var(--prf-paper);
  border: 1px solid var(--prf-line);
  border-radius: 10px;
  min-height: 8rem;
  min-width: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.prf-feed-pager .pagination {
  margin-bottom: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
}

.prf-feed-pager .page-link {
  border-radius: 0;
  color: var(--prf-ink-soft);
  border-color: var(--prf-line);
}

.prf-feed-pager .page-item.active .page-link {
  background: var(--prf-ink);
  border-color: var(--prf-ink);
  color: #fff;
}

.prf-feed .list-group-item {
  border: none !important;
  border-left: 3px solid var(--prf-accent) !important;
  border-radius: 0 !important;
  margin-bottom: 0.35rem;
  padding: 0.55rem 0.65rem 0.55rem 0.75rem !important;
  background: #fff !important;
  box-shadow: 0 1px 0 var(--prf-line);
}

.prf-feed .list-group-item h6 {
  font-size: var(--prf-text-secondary);
  font-weight: 600;
  color: var(--prf-ink);
  margin-bottom: 0.15rem !important;
}

.prf-feed .list-group-item .text-muted {
  font-size: var(--prf-text-secondary);
  line-height: var(--prf-text-secondary-lh);
  color: var(--prf-muted) !important;
}

.prf-feed-snippet {
  font-size: var(--prf-text-secondary);
  line-height: 1.4;
}

.prf-feed .list-group-item:hover {
  background: #fffaf6 !important;
}

.prf-works-empty {
  padding: 2rem 1rem;
}

.prf-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 3px dashed var(--prf-line);
  background: var(--prf-paper);
}

.prf-empty__icon {
  font-size: 2.5rem;
  color: var(--prf-muted);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.75rem;
}

.prf-empty__text {
  margin: 0;
  color: var(--prf-muted);
  font-weight: 500;
}

.trust-level-badge.trust-level-0 {
  background: #e5e7eb;
  color: #374151;
}

.trust-level-badge.trust-level-1 {
  background: #e0f2fe;
  color: #0369a1;
}

.trust-level-badge.trust-level-2 {
  background: #dcfce7;
  color: #15803d;
}

.trust-level-badge.trust-level-3 {
  background: #fef3c7;
  color: #b45309;
}

.trust-level-badge.trust-level-4 {
  background: #ede9fe;
  color: #5b21b6;
}

@media (max-width: 575.98px) {
  .prf .input-group {
    flex-wrap: wrap;
  }
}
/* Soft alignment: white canvas + blitz panels (same language as articles/inner pages) */
#profile-show.prf {
  --prf-ink: #143026;
  --prf-ink-soft: #2a3d34;
  --prf-muted: #6d746e;
  --prf-paper: #ffffff;
  --prf-paper-2: #faf7f1;
  --prf-accent: #6b8e23;
  --prf-accent-hot: #5a771c;
  --prf-line: rgba(26, 48, 36, 0.1);
  --prf-board: #ffffff;
  font-family: var(--font-sans, "Montserrat", system-ui, sans-serif);
}

#profile-show.prf .prf__mast,
#profile-show.prf .prf__vault,
#profile-show.prf .prf__board-inner,
#profile-show.prf .prf-works__panel,
#profile-show.prf .prf-works__empty {
  border: 1px solid rgba(26, 48, 36, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07) !important;
  background: #fff !important;
  color: var(--prf-ink);
}

#profile-show.prf .prf__mast {
  margin-bottom: 0.75rem;
}

#profile-show.prf .prf__mast::before {
  display: none;
}

#profile-show.prf .prf__avatar-frame {
  transform: none !important;
}

#profile-show.prf .prf__mast:hover .prf__avatar-frame {
  transform: none !important;
}

#profile-show.prf .prf__avatar-img,
#profile-show.prf .prf__avatar-fallback {
  border-radius: 50%;
  border: 2px solid rgba(26, 48, 36, 0.14);
}

#profile-show.prf .prf__avatar-edit {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(26, 48, 36, 0.18);
}

#profile-show.prf .prf__board {
  margin-bottom: 0.75rem;
}

#profile-show.prf .prf__board-inner {
  color: var(--prf-ink);
}

#profile-show.prf .prf__metric--wide {
  border-left-color: var(--prf-line);
  border-right-color: var(--prf-line);
}

@media (max-width: 767.98px) {
  #profile-show.prf .prf__metric--wide {
    border-top-color: var(--prf-line);
    border-bottom-color: var(--prf-line);
  }
}
#profile-show.prf .prf__metric-value {
  color: var(--prf-ink);
}

#profile-show.prf .prf__metric-label {
  color: var(--prf-muted);
}

#profile-show.prf .prf__board-foot {
  color: var(--prf-muted);
  border-top-color: var(--prf-line);
}

#profile-show.prf .prf__board-foot-title {
  color: var(--prf-ink-soft);
}

#profile-show.prf .prf__board-foot-lead {
  color: var(--prf-muted);
}

#profile-show.prf .prf__board-dl-row {
  border-color: var(--prf-line);
  background: var(--prf-paper-2);
}

#profile-show.prf .prf__board-dl dt {
  color: var(--prf-muted);
}

#profile-show.prf .prf__board-dl dd {
  color: var(--prf-ink);
}

#profile-show.prf .prf__board-dl-hint {
  color: var(--prf-muted);
}

#profile-show.prf .prf__vault {
  background: #faf7f1 !important;
  border: 1px solid rgba(26, 48, 36, 0.1) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

#profile-show.prf .prf__btn--primary,
#profile-show.prf .prf__btn--ghost {
  border-radius: 8px !important;
  border-width: 1px !important;
  box-shadow: none !important;
  transform: none !important;
}

#profile-show.prf .prf__btn--primary:hover,
#profile-show.prf .prf__btn--ghost:hover {
  transform: none !important;
  box-shadow: none !important;
}

#profile-show.prf .prf-works__tab {
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 8px;
  background: #fff;
}

#profile-show.prf .prf-works__tab:hover {
  background: var(--prf-paper-2);
  transform: none;
}

#profile-show.prf .prf-works__tab.active {
  background: #1a3024;
  border-color: #1a3024;
  color: #fff;
}

#profile-show.prf .prf-works__tab.active .prf-works__tab-count {
  color: rgba(255, 255, 255, 0.85);
}

#profile-show.prf .prf-works__tab.active .prf-works__tab-icon {
  color: #fff;
}

#profile-show.prf .prf__alert {
  border-radius: 8px !important;
}

#profile-show.prf .prf__referral-input .form-control,
#profile-show.prf .prf__referral-bar {
  border-radius: 8px;
}

/* Profile subpages + create-content + notifications share .profile-main */
.profile-main .hboard,
.profile-main .prf-edit,
.profile-main .prf-proj,
.profile-main .prf-followed,
.profile-main .profile-favorites-page,
.profile-main .prf-activity,
.profile-main .prf-holiday,
.profile-main .cc-hub,
.profile-main .prf-notifs {
  --prf-ink: #143026;
  --prf-ink-soft: #2a3d34;
  --prf-muted: #6d746e;
  --prf-paper: #ffffff;
  --prf-paper-2: #faf7f1;
  --prf-accent: #6b8e23;
  --prf-accent-hot: #5a771c;
  --prf-line: rgba(26, 48, 36, 0.1);
  --prf-board: #ffffff;
  font-family: var(--font-sans, "Montserrat", system-ui, sans-serif);
}

.profile-main .hboard__topcard,
.profile-main .hboard__panel,
.profile-main .hboard__card,
.profile-main .hboard__fcard,
.profile-main .prf-edit__mast,
.profile-main .prf-edit__panel,
.profile-main .prf-edit-card,
.profile-main .prf-edit__alert,
.profile-main .prf-proj__mast,
.profile-main .prf-proj__panel,
.profile-main .prf-proj__alert,
.profile-main .prf-followed__mast,
.profile-main .prf-followed__panel,
.profile-main .prf-fav__mast,
.profile-main .favorites-panel,
.profile-main .prf-activity__mast,
.profile-main .prf-activity__panel,
.profile-main .prf-holiday__mast,
.profile-main .prf-holiday__panel,
.profile-main .cc-hub__mast,
.profile-main .cc-hub__panel,
.profile-main .prf-notifs__mast,
.profile-main .prf-notifs__panel {
  border: 1px solid rgba(26, 48, 36, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07) !important;
  background: #fff !important;
}

.profile-main .hboard__chip {
  border-radius: 8px !important;
  border-width: 1px !important;
}

.profile-main .hboard__chip--site,
.profile-main .hboard__chip--wait {
  border-color: rgba(107, 142, 35, 0.35) !important;
  background: rgba(107, 142, 35, 0.08) !important;
  color: var(--prf-ink) !important;
}

.profile-main .hboard__panel--pending-hot {
  border-color: rgba(107, 142, 35, 0.45) !important;
  box-shadow: none !important;
}

.profile-main .hboard__statrow,
.profile-main .hboard__statrow-ico {
  border-radius: 8px !important;
}

.profile-main .cc-hub__tab.create-content-tab-card,
.profile-main .prf-notifs__toolbar .btn,
.profile-main .prf-edit .btn,
.profile-main .prf-proj .btn,
.profile-main .hboard__hero-btn {
  border-radius: 8px !important;
}

.profile-main .cc-hub__tab.create-content-tab-card.active {
  background: #1a3024 !important;
  color: #fff !important;
}

.profile-main .prf-notifs__toolbar .btn {
  font-weight: 600;
}

.profile-main .prf-notifs__alert,
.profile-main .cc-hub__alert,
.profile-main .prf-activity__alert {
  border-radius: 8px !important;
}

.profile-main .prf-edit .form-control,
.profile-main .prf-edit .form-select,
.profile-main .prf-proj .form-control,
.profile-main .prf-proj .form-select {
  border-width: 1px !important;
  border-radius: 8px !important;
  border-color: rgba(26, 48, 36, 0.14) !important;
}

.profile-main .prf-edit .form-control:focus,
.profile-main .prf-edit .form-select:focus,
.profile-main .prf-proj .form-control:focus,
.profile-main .prf-proj .form-select:focus {
  border-color: var(--prf-accent) !important;
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.18) !important;
}

.profile-main .prf-edit .form-check-input,
.profile-main .prf-proj .form-check-input {
  border-radius: 4px !important;
  border-width: 1px !important;
}

.profile-main .prf-edit .form-check-input:focus,
.profile-main .prf-proj .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.18) !important;
}

.profile-main .profile-avatar-dropzone {
  border: 1px dashed rgba(26, 48, 36, 0.22) !important;
  border-radius: 10px !important;
  background: #faf7f1 !important;
  box-shadow: none !important;
}

.profile-main .profile-avatar-dropzone.drag-over {
  border-color: var(--prf-accent) !important;
  background: rgba(107, 142, 35, 0.08) !important;
  box-shadow: none !important;
}

.profile-main .profile-avatar-dropzone .avatar-preview-wrap {
  border: 2px solid rgba(26, 48, 36, 0.14) !important;
  box-shadow: none !important;
}

.profile-main .prf-edit-card--danger {
  box-shadow: none !important;
  border-radius: 10px !important;
}

.profile-main .prf-edit .rounded-3,
.profile-main .prf-edit .rounded-4 {
  border-radius: 8px !important;
}
