/* Content pages: service / job detail, public profile, landing + how it
   works, news, pricing, error pages, review lists. Uses kits.css tokens
   only, so light and dark themes follow automatically. */

/* ---------- Page shell ---------- */
.ct-page{ padding-top:24px; padding-bottom:clamp(56px, 7vw, 96px); }
.ct-crumbs{ font-size:13px; }
.ct-crumbs svg{ flex:none; color:var(--k-line-3); }
.ct-crumbs [aria-current="page"]{ color:var(--k-ink); }
.ct-title{ margin:0; font-size:clamp(30px, 4vw, 40px); line-height:1.1; letter-spacing:-.03em; font-weight:700; text-wrap:balance; overflow-wrap:anywhere; }
.ct-lead{ margin:0; max-width:600px; font-size:17px; line-height:1.6; color:var(--k-soft); }

.ct-detail{ display:flex; flex-wrap:wrap; gap:48px; align-items:flex-start; margin-top:24px; }
.ct-detail__main{ flex:999 1 560px; min-width:0; display:flex; flex-direction:column; gap:48px; }
.ct-detail__aside{ flex:1 1 340px; min-width:0; max-width:100%; display:flex; flex-direction:column; gap:16px; }

.ct-head{ display:flex; flex-direction:column; gap:20px; }
.ct-head__row{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.ct-head__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.ct-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; font-size:14px; color:var(--k-soft); }
.ct-meta strong{ color:var(--k-ink); }
.ct-meta__sep{ color:var(--k-line-2); }
.ct-head__aside{ display:flex; align-items:center; gap:8px 16px; flex-wrap:wrap; }
.ct-views{ display:inline-flex; align-items:center; gap:6px; font-size:14px; color:var(--k-soft); }

.ct-sec{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.ct-sec__h{ margin:0; font-size:20px; line-height:1.3; letter-spacing:-.01em; font-weight:700; }
.ct-sec__h--lg{ font-size:clamp(24px, 2.8vw, 28px); letter-spacing:-.02em; }
.ct-sec__top{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.ct-sec__sub{ margin:0; font-size:14px; color:var(--k-soft); }
.ct-more{ display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:15px; font-weight:600; text-decoration:none; }
.ct-more:hover{ text-decoration:underline; }
.ct-prose{ margin:0; max-width:680px; font-size:16px; line-height:1.7; color:var(--k-ink-2); white-space:pre-line; overflow-wrap:anywhere; }
.ct-note{ margin:0; display:flex; gap:8px; align-items:flex-start; font-size:13px; line-height:1.5; color:var(--k-muted); }
.ct-note svg{ flex:none; margin-top:1px; color:var(--k-brand); }

/* ---------- Small parts ---------- */
.ct-star{ color:var(--k-star); flex:none; }
.ct-strong{ color:var(--k-ink); font-weight:600; }
.ct-badge-dark{ background:var(--k-dark-btn); color:var(--k-on-dark-btn); }
.ct-tag{ display:inline-flex; align-items:center; padding:4px 12px; border-radius:var(--k-r-sm); background:var(--k-surface-2); color:var(--k-ink-2); font-size:13px; font-weight:500; text-decoration:none; }
.ct-skills{ display:flex; flex-wrap:wrap; gap:8px; }
.ct-skill{ display:inline-flex; align-items:center; padding:6px 12px; border-radius:var(--k-r-sm); background:var(--k-surface-2); color:var(--k-ink-2); font-size:14px; font-weight:500; }
.ct-badges{ display:flex; flex-wrap:wrap; gap:8px; }
.ct-badges .profile-badge{ margin:0; padding:0 9px; font-weight:600; }

.ct-person{ display:flex; align-items:center; gap:12px; min-width:0; color:var(--k-ink); text-decoration:none; }
.ct-person:hover{ color:var(--k-ink); }
.ct-person:hover .ct-person__name{ text-decoration:underline; }
.ct-person__body{ display:flex; flex-direction:column; min-width:0; }
.ct-person__line{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ct-person__name{ font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.ct-person__meta{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:14px; color:var(--k-muted); }
.ct-avatar-img{ width:100%; height:100%; object-fit:cover; }

.ct-dl{ margin:0; display:flex; flex-direction:column; gap:10px; font-size:14px; }
.ct-dl > div{ display:flex; justify-content:space-between; gap:12px; }
.ct-dl dt{ color:var(--k-muted); }
.ct-dl dd{ margin:0; font-weight:600; text-align:right; overflow-wrap:anywhere; }

.ct-card{ display:flex; flex-direction:column; gap:16px; padding:24px; background:var(--k-surface); border:1px solid var(--k-line); border-radius:var(--k-r-card); min-width:0; }
.ct-card--soft{ background:var(--k-bg); }
.ct-card__h{ margin:0; font-size:17px; line-height:1.3; font-weight:600; }
.ct-card__label{ margin:0; font-size:14px; font-weight:600; color:var(--k-soft); }
.ct-card__row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ct-stack-8{ display:flex; flex-direction:column; gap:8px; }
.ct-stack-10{ display:flex; flex-direction:column; gap:10px; }

/* ---------- Owner bar + draft banner ---------- */
.ct-ownerbar{ background:var(--k-bg); border-bottom:1px solid var(--k-line); }
.ct-ownerbar__in{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; padding-top:14px; padding-bottom:14px; }
.ct-ownerbar__facts{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; font-size:14px; color:var(--k-soft); }
.ct-ownerbar__facts > span{ display:inline-flex; align-items:center; gap:6px; }
.ct-ownerbar__facts strong{ color:var(--k-ink); }
.ct-ownerbar__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ct-ownerbar__actions form{ margin:0; }
.ct-ownerbar .k-menu{ min-width:240px; }

.ct-draft.draft-banner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px;
  max-width:none; margin:16px 0 0; padding:14px 16px; border-radius:var(--k-r);
  background:var(--k-warn-bg); border:1px solid var(--k-line); color:var(--k-ink-2); font-size:14px;
}
.ct-draft strong{ color:var(--k-warn); }
.ct-draft__text{ display:flex; align-items:center; gap:10px; }
.ct-draft__text svg{ flex:none; color:var(--k-warn); }
.ct-draft__actions{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.ct-draft__actions form{ margin:0; }

/* ---------- Gallery ---------- */
.ct-gallery{ display:flex; flex-direction:column; gap:12px; }
.ct-gallery__main{
  position:relative; display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:16 / 10;
  padding:0; overflow:hidden; border:1px solid var(--k-line); border-radius:var(--k-r-panel);
  background:var(--k-surface-2); color:var(--k-primary); font:inherit; cursor:zoom-in;
}
.ct-gallery__main img{ display:block; width:100%; height:100%; object-fit:cover; }
.ct-gallery__main.is-empty{ cursor:default; }
.ct-gallery__tile{ display:flex; align-items:center; justify-content:center; width:88px; height:88px; border-radius:var(--k-r-xl); background:var(--k-surface); color:var(--k-primary); box-shadow:0 1px 2px rgba(15,23,42,.06); }
.ct-gallery__zoom{ position:absolute; right:12px; top:12px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-surface); color:var(--k-soft); box-shadow:0 1px 2px rgba(15,23,42,.08); }
.ct-gallery__count{ position:absolute; left:16px; bottom:16px; padding:5px 12px; border-radius:999px; background:var(--k-surface); color:var(--k-ink); font-size:13px; font-weight:600; box-shadow:0 1px 2px rgba(15,23,42,.08); }
.ct-gallery__thumbs{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.ct-gallery__thumb{
  aspect-ratio:4 / 3; padding:0; border:1px solid var(--k-line); border-radius:var(--k-r);
  background-color:var(--k-surface-2); background-size:cover; background-position:center; cursor:pointer;
  box-shadow:inset 0 0 0 2px transparent; transition:box-shadow .15s ease, border-color .15s ease;
}
.ct-gallery__thumb:hover{ border-color:var(--k-line-3); }
.ct-gallery__thumb.active{ box-shadow:inset 0 0 0 2px var(--k-ink); border-color:var(--k-ink); }

/* ---------- Description language tabs ---------- */
.ct-langtabs{ display:flex; gap:4px; padding:4px; background:var(--k-bg); border:1px solid var(--k-line); border-radius:var(--k-r); }
.ct-langtabs[hidden]{ display:none; }
.ct-langtabs button{
  height:36px; min-width:44px; padding:0 12px; border:0; border-radius:9px; background:transparent;
  color:var(--k-soft); font:inherit; font-size:13px; font-weight:500; letter-spacing:.04em; cursor:pointer;
}
.ct-langtabs button:hover{ color:var(--k-ink); }
.ct-langtabs button[aria-selected="true"]{ background:var(--k-surface); color:var(--k-ink); font-weight:700; box-shadow:0 1px 2px rgba(15,23,42,.08), 0 0 0 1px var(--k-line); }

/* ---------- Lists ---------- */
.ct-checks{ margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap:12px 24px; }
.ct-checks li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--k-ink-2); overflow-wrap:anywhere; }
.ct-check-ic{ flex:none; display:flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:var(--k-brand-soft); color:var(--k-primary); }
.ct-check-ic--muted{ background:var(--k-surface-2); color:var(--k-soft); }

.ct-list{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; border:1px solid var(--k-line); border-radius:var(--k-r-card); overflow:hidden; background:var(--k-surface); }
.ct-list > li, .ct-list > a{ display:flex; gap:16px; align-items:flex-start; padding:16px 20px; border-bottom:1px solid var(--k-line); }
.ct-list > li:last-child, .ct-list > a:last-child{ border-bottom:0; }
.ct-list__num{ flex:none; display:flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:var(--k-r-sm); background:var(--k-surface-2); color:var(--k-ink); font-size:13px; font-weight:700; }
.ct-list__text{ font-size:15px; color:var(--k-ink-2); padding-top:2px; overflow-wrap:anywhere; }
.ct-list__row{ justify-content:space-between; align-items:center !important; }
.ct-list__label{ font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.ct-list__price{ font-size:15px; font-weight:700; white-space:nowrap; }
.ct-list a.ct-list__link, .ct-list > a{ color:var(--k-ink); text-decoration:none; transition:background-color .15s ease; justify-content:space-between; align-items:center; }
.ct-list > a:hover{ background:var(--k-bg); color:var(--k-ink); }
.ct-list__main{ display:flex; flex-direction:column; min-width:0; }
.ct-list__title{ font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.ct-list__sub{ font-size:13px; color:var(--k-muted); }

/* ---------- FAQ (details) ---------- */
.ct-faq{ display:flex; flex-direction:column; border:1px solid var(--k-line); border-radius:var(--k-r-card); overflow:hidden; background:var(--k-surface); }
.ct-faq details + details{ border-top:1px solid var(--k-line); }
.ct-faq summary{
  display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; padding:14px 20px;
  font-size:15px; font-weight:600; color:var(--k-ink); cursor:pointer; list-style:none; transition:background-color .15s ease;
}
.ct-faq summary::-webkit-details-marker{ display:none; }
.ct-faq summary:hover{ background:var(--k-bg); }
.ct-faq summary svg{ flex:none; color:var(--k-soft); transition:transform .2s ease; }
.ct-faq details[open] summary svg{ transform:rotate(180deg); }
.ct-faq details p{ margin:0; padding:0 20px 18px; max-width:640px; font-size:15px; line-height:1.65; color:var(--k-soft); white-space:pre-line; }
.ct-faq--lg summary{ min-height:60px; font-size:16px; }

/* ---------- Price card (aside) ---------- */
.ct-buy{ display:flex; flex-direction:column; gap:20px; padding:24px; background:var(--k-surface); border:1px solid var(--k-line); border-radius:var(--k-r-card); }
.ct-buy__price{ display:flex; flex-direction:column; gap:4px; }
.ct-buy__label{ font-size:13px; color:var(--k-muted); }
.ct-buy__amount{ font-size:32px; line-height:1.15; font-weight:700; letter-spacing:-.02em; overflow-wrap:anywhere; }
.ct-buy__amount--sm{ font-size:28px; }
.ct-buy__from{ font-size:16px; font-weight:500; color:var(--k-soft); letter-spacing:0; }
.ct-buy__orig{ font-size:13px; color:var(--k-muted); }
.ct-buy__facts{ display:flex; flex-direction:column; gap:10px; padding:16px 0; border-top:1px solid var(--k-line); border-bottom:1px solid var(--k-line); font-size:14px; }
.ct-buy__facts > div{ display:flex; justify-content:space-between; gap:12px; }
.ct-buy__facts span:first-child{ display:inline-flex; align-items:center; gap:8px; color:var(--k-soft); }
.ct-buy__facts span:last-child{ font-weight:600; text-align:right; }
.ct-buy__actions{ display:flex; flex-direction:column; gap:10px; }
.ct-buy__actions form{ margin:0; }
.ct-buy form.ct-apply{ display:flex; flex-direction:column; gap:16px; padding-top:20px; border-top:1px solid var(--k-line); }
.ct-buy__h{ margin:0; font-size:18px; line-height:1.3; letter-spacing:-.01em; font-weight:700; }
.ct-buy .k-btn[aria-pressed="true"] svg{ color:var(--k-primary); }
.ct-buy__state{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ct-buy__state h2{ margin:0; display:flex; align-items:center; gap:10px; font-size:18px; line-height:1.3; }
.ct-okdot{ display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:var(--k-brand-soft); color:var(--k-primary); flex:none; }
.ct-quote{ display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:var(--k-r); background:var(--k-bg); }
.ct-quote p{ margin:0; font-size:14px; line-height:1.6; color:var(--k-ink-2); white-space:pre-line; overflow-wrap:anywhere; }
.ct-mini-stats{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; text-align:center; }
.ct-mini-stats > div{ padding:12px 8px; border-radius:var(--k-r); background:var(--k-bg); }
.ct-mini-stats strong{ display:block; font-size:20px; font-weight:700; }
.ct-mini-stats span{ font-size:12px; color:var(--k-muted); }

/* ---------- Listing cards (more from / similar) ---------- */
.ct-cards{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap:16px; }
.ct-cards--lg{ grid-template-columns:repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap:20px; }
.ct-lcard{ display:flex; flex-direction:column; overflow:hidden; color:var(--k-ink); text-decoration:none; }
.ct-lcard:hover{ color:var(--k-ink); }
.ct-lcard__thumb{ position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:16 / 10; background:var(--k-surface-2); color:var(--k-primary); overflow:hidden; }
.ct-cards--lg .ct-lcard__thumb{ aspect-ratio:4 / 3; }
.ct-lcard__thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ct-lcard__tile{ display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:14px; background:var(--k-surface); color:var(--k-primary); box-shadow:0 1px 2px rgba(15,23,42,.06); }
.ct-lcard__flag{ position:absolute; left:12px; top:12px; }
.ct-lcard__chip{ position:absolute; left:12px; bottom:12px; padding:3px 10px; border-radius:999px; background:var(--k-surface); color:var(--k-ink-2); font-size:12px; font-weight:600; }
.ct-lcard__body{ flex:1 1 auto; display:flex; flex-direction:column; gap:10px; padding:16px; }
.ct-lcard__seller{ display:flex; align-items:center; gap:8px; font-size:14px; min-width:0; }
.ct-lcard__seller .k-avatar{ width:28px; height:28px; font-size:11px; }
.ct-lcard__seller-name{ font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ct-lcard__title{ font-size:15px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.ct-lcard__foot{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:13px; color:var(--k-muted); }
.ct-lcard__foot strong{ font-size:16px; color:var(--k-ink); }
.ct-lcard__foot--line{ padding-top:12px; border-top:1px solid var(--k-surface-2); }
.ct-lcard__rating{ display:inline-flex; align-items:center; gap:4px; }

/* ---------- Reviews ---------- */
.ct-rating-sum{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; padding:24px; border:1px solid var(--k-line); border-radius:var(--k-r-card); background:var(--k-bg); }
.ct-rating-sum__num{ font-size:44px; line-height:1; font-weight:700; letter-spacing:-.03em; }
.ct-rating-sum__stars{ display:flex; gap:2px; color:var(--k-star); }
.ct-rating-sum__count{ font-size:14px; color:var(--k-soft); }
.ct-rating-sum--empty{ padding:20px 24px; }
.ct-rating-sum__ic{ flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-surface); border:1px solid var(--k-line); color:var(--k-muted); }

.ct-reviews{ display:flex; flex-direction:column; gap:16px; transition:opacity .2s ease; }
.ct-reviews.is-loading{ opacity:.6; }
.ct-reviews__bar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.ct-reviews__bar .k-select{ width:auto; min-height:44px; height:44px; padding:0 12px; font-size:14px; }
.ct-reviews__chips .k-chip{ gap:4px; }
.ct-reviews__chips .k-chip.active{ background:var(--k-dark-btn); border-color:var(--k-dark-btn); color:var(--k-on-dark-btn); font-weight:600; }
.ct-reviews__chips .k-chip svg{ color:inherit; }
.ct-reviews__list{ display:flex; flex-direction:column; }
.ct-reviews__empty{ display:flex; align-items:center; gap:16px; padding:20px 24px; border:1px solid var(--k-line); border-radius:var(--k-r-card); font-size:15px; font-weight:600; color:var(--k-ink); background:var(--k-bg); }
.ct-reviews__empty-ic{ flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-surface); border:1px solid var(--k-line); color:var(--k-muted); }
.ct-reviews__empty[hidden], .ct-reviews__more[hidden]{ display:none; }
.ct-reviews__more{ align-self:flex-start; }

.ct-review{ display:flex; flex-direction:column; gap:12px; padding:20px 0; border-top:1px solid var(--k-line); min-width:0; overflow-wrap:anywhere; }
.ct-review__head{ display:flex; align-items:center; gap:12px; }
.ct-review__who{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
.ct-review__name{ font-size:15px; font-weight:600; }
.ct-review__meta{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--k-muted); }
.ct-review__score{ display:inline-flex; align-items:center; gap:4px; }
.ct-review__score strong{ color:var(--k-ink); font-weight:600; }
.ct-review__actions{ display:flex; align-items:center; gap:4px; flex:none; }
.ct-review__actions form{ margin:0; }
.ct-review__listing{ align-self:flex-start; font-size:13px; font-weight:600; text-decoration:none; }
.ct-review__listing:hover{ text-decoration:underline; }
.ct-review__text{ margin:0; max-width:680px; font-size:15px; line-height:1.6; color:var(--k-ink-2); white-space:pre-line; }
.ct-review__foot{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; }
.ct-review .review-like{
  display:inline-flex; align-items:center; gap:8px; height:36px; min-height:36px; padding:0 12px; margin:0;
  border:1px solid var(--k-line-2); border-radius:999px; background:var(--k-surface); color:var(--k-soft);
  font:inherit; font-size:13px; font-weight:600; cursor:pointer;
}
.ct-review .review-like:hover:not(:disabled){ border-color:var(--k-line-3); color:var(--k-ink); }
.ct-review .review-like.liked{ background:var(--k-brand-soft); border-color:var(--k-brand-soft); color:var(--k-brand-soft-ink); }
.ct-review .review-like:disabled{ cursor:default; opacity:.8; }
.ct-hint{ margin:0; display:flex; gap:8px; align-items:flex-start; font-size:13px; color:var(--k-muted); }
.ct-hint svg{ flex:none; margin-top:1px; }

/* ---------- Report link ---------- */
.ct-report.report-box{ margin:0; font-size:14px; }
.ct-report > summary{
  display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 4px; color:var(--k-muted);
  font-size:13px; font-weight:500; list-style:none; cursor:pointer; border-radius:var(--k-r-sm);
}
.ct-report > summary::-webkit-details-marker{ display:none; }
.ct-report > summary:hover{ color:var(--k-ink); }
.ct-report form{ display:flex; flex-direction:column; gap:10px; margin-top:4px; padding:16px; border:1px solid var(--k-line); border-radius:var(--k-r); background:var(--k-surface); }
.ct-report .k-btn{ align-self:flex-start; }
.ct-detail__aside > .ct-report{ align-self:flex-end; }

/* ---------- Job detail ---------- */
.ct-facts{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap:12px; }
.ct-fact{ display:flex; flex-direction:column; gap:6px; padding:16px 18px; border:1px solid var(--k-line); border-radius:var(--k-r-card); background:var(--k-bg); min-width:0; }
.ct-fact__label{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--k-muted); }
.ct-fact__label svg{ flex:none; }
.ct-fact__value{ font-size:17px; font-weight:700; overflow-wrap:anywhere; }
.ct-fact__sub{ font-size:12px; color:var(--k-muted); }

.ct-files{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap:12px; }
.ct-file{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:var(--k-r); color:var(--k-ink); text-decoration:none; min-width:0; }
.ct-file:hover{ color:var(--k-ink); }
.ct-file__ic{ flex:none; display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; background:var(--k-brand-soft-2); color:var(--k-primary); }
.ct-file__name{ flex:1 1 auto; min-width:0; font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ct-file > svg{ flex:none; color:var(--k-muted); }

.ct-app{ display:flex; flex-direction:column; gap:14px; padding:20px; border:1px solid var(--k-line); border-radius:var(--k-r-card); background:var(--k-surface); min-width:0; }
.ct-app__head{ display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.ct-app__head .ct-person{ flex:1 1 260px; }
.ct-app__side{ display:flex; align-items:center; gap:12px; }
.ct-app__price{ display:flex; flex-direction:column; align-items:flex-end; }
.ct-app__price span{ font-size:12px; color:var(--k-muted); }
.ct-app__price strong{ font-size:18px; }
.ct-app__letter{ margin:0; font-size:15px; line-height:1.6; color:var(--k-soft); white-space:pre-line; overflow-wrap:anywhere; }
.ct-app__actions{ display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start; }
.ct-app__actions form{ margin:0; }
.ct-decline.decline-box{ display:inline-block; }
.ct-decline > summary{ list-style:none; }
.ct-decline > summary::-webkit-details-marker{ display:none; }
.ct-decline[open]{ display:block; width:100%; }
.ct-decline form{ display:flex; flex-direction:column; gap:10px; margin-top:10px; padding:16px; border:1px solid var(--k-line); border-radius:var(--k-r); background:var(--k-bg); }
.ct-decline form .k-btn{ align-self:flex-start; }

.ct-field-prefix{ position:relative; }
.ct-field-prefix > span{ position:absolute; left:14px; top:0; height:48px; display:flex; align-items:center; font-size:16px; color:var(--k-soft); pointer-events:none; }
.ct-field-prefix input{ padding-left:34px !important; }
.ct-optional{ font-weight:400; color:var(--k-muted); }

/* ---------- Public profile ---------- */
.ct-cover{ height:160px; background:var(--k-bg); border-bottom:1px solid var(--k-line); background-size:cover; background-position:center; }
.ct-profile{ padding-bottom:clamp(56px, 7vw, 96px); }
.ct-profile__top{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px 32px; }
.ct-profile__id{ flex:999 1 520px; min-width:0; display:flex; flex-direction:column; gap:16px; }
.ct-profile__avatar{ position:relative; z-index:2; width:96px; height:96px; margin-top:-48px; font-size:32px; box-shadow:0 0 0 4px var(--k-surface), 0 0 0 5px var(--k-line); }
.ct-profile__name{ display:flex; flex-direction:column; gap:8px; }
.ct-profile__tagline{ margin:0; font-size:17px; color:var(--k-soft); }
.ct-profile__facts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; font-size:14px; color:var(--k-soft); }
.ct-profile__facts > span{ display:inline-flex; align-items:center; gap:6px; }
.ct-profile__actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ct-profile__vsep{ width:1px; height:28px; margin:0 4px; background:var(--k-line); }
.ct-stats{ margin-top:32px; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(160px, 100%), 1fr)); border:1px solid var(--k-line); border-radius:var(--k-r-card); overflow:hidden; background:var(--k-surface); }
.ct-stats > div{ display:flex; flex-direction:column; gap:2px; padding:18px 24px; box-shadow:1px 0 0 var(--k-line), 0 1px 0 var(--k-line); }
.ct-stats strong{ display:flex; align-items:center; gap:6px; font-size:24px; font-weight:700; letter-spacing:-.02em; }
.ct-stats span{ font-size:13px; color:var(--k-muted); }
.ct-tabs{ margin-top:40px; display:flex; gap:28px; border-bottom:1px solid var(--k-line); overflow-x:auto; scrollbar-width:none; }
.ct-tabs::-webkit-scrollbar{ display:none; }
.ct-tabs[hidden]{ display:none; }
.ct-tabs a, .ct-tabs button{
  display:flex; align-items:center; gap:8px; height:52px; padding:0 2px; border:0; background:transparent; flex:none;
  color:var(--k-soft); font:inherit; font-size:15px; font-weight:500; white-space:nowrap; text-decoration:none; cursor:pointer;
  box-shadow:inset 0 -2px 0 transparent;
}
.ct-tabs a:hover, .ct-tabs button:hover{ color:var(--k-ink); }
.ct-tabs [aria-selected="true"]{ color:var(--k-ink); font-weight:600; box-shadow:inset 0 -2px 0 var(--k-brand); }
.ct-tabs__count{ padding:1px 8px; border-radius:999px; background:var(--k-surface-2); color:var(--k-ink-2); font-size:12px; font-weight:600; }
.ct-profile .ct-detail{ margin-top:32px; }
.ct-panel{ display:flex; flex-direction:column; gap:20px; }
.ct-panel[hidden]{ display:none; }
.ct-panels.is-tabbed .ct-panel__h{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ct-panels:not(.is-tabbed){ display:flex; flex-direction:column; gap:48px; }
.ct-team{ display:flex; flex-direction:column; gap:8px; font-size:14px; }
.ct-team > div{ display:flex; justify-content:space-between; gap:12px; }
.ct-team span:last-child{ color:var(--k-muted); text-align:right; }

/* ---------- Landing / how it works ---------- */
.ct-hero{ display:flex; flex-wrap:wrap; align-items:center; gap:56px; padding-top:clamp(40px, 5vw, 64px); padding-bottom:clamp(56px, 7vw, 96px); }
.ct-hero__main{ flex:999 1 520px; min-width:0; display:flex; flex-direction:column; gap:24px; }
.ct-hero h1.page-title{ margin:0; font-size:clamp(38px, 5vw, 56px); line-height:1.05; letter-spacing:-.035em; font-weight:700; text-wrap:balance; overflow-wrap:anywhere; }
.ct-hero__lead{ margin:0; max-width:560px; font-size:18px; line-height:1.6; color:var(--k-soft); }
.ct-hero__actions{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.ct-hero__aside{ flex:1 1 360px; min-width:0; max-width:480px; margin:0; padding:8px 24px; list-style:none; background:var(--k-bg); border:1px solid var(--k-line); border-radius:var(--k-r-xl); }
.ct-hero__aside li{ display:flex; gap:16px; align-items:flex-start; padding:20px 0; }
.ct-hero__aside li + li{ border-top:1px solid var(--k-line); }
.ct-hero__aside-ic{ flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-surface); border:1px solid var(--k-line); color:var(--k-primary); font-size:15px; font-weight:700; }
.ct-hero__aside-t{ display:flex; flex-direction:column; gap:2px; }
.ct-hero__aside-t strong{ font-weight:600; }
.ct-hero__aside-t span{ font-size:14px; color:var(--k-soft); }

.ct-search{ display:flex; align-items:center; gap:8px; width:100%; max-width:600px; box-sizing:border-box; padding:6px 6px 6px 18px; background:var(--k-surface); border:1px solid var(--k-line-2); border-radius:var(--k-r-card); box-shadow:0 1px 2px rgba(15,23,42,.04), 0 12px 32px -16px rgba(15,23,42,.16); }
.ct-search:focus-within{ border-color:var(--k-brand); box-shadow:var(--k-focus); }
.ct-search > svg{ flex:none; color:var(--k-muted); }
.ct-search input{ flex:1 1 auto; min-width:0; height:48px; border:0; outline:none; background:transparent; color:var(--k-ink); font:inherit; font-size:16px; text-align:left; }

.ct-band{ background:var(--k-bg); border-top:1px solid var(--k-line); border-bottom:1px solid var(--k-line); }
.ct-band__in, .ct-block{ display:flex; flex-direction:column; gap:32px; padding-top:clamp(56px, 7vw, 96px); padding-bottom:clamp(56px, 7vw, 96px); }
.ct-block__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.ct-block__title{ display:flex; flex-direction:column; gap:8px; max-width:720px; }
.ct-block h2.ct-h2, .ct-band h2.ct-h2{ margin:0; font-size:28px; line-height:1.2; letter-spacing:-.02em; font-weight:700; }

.ct-article{ max-width:720px; display:flex; flex-direction:column; gap:20px; font-size:17px; line-height:1.7; color:var(--k-ink-2); overflow-wrap:anywhere; }
.ct-article p{ margin:0; }
.ct-article h2.section-title{ margin:16px 0 0; font-family:inherit; font-size:24px; line-height:1.3; letter-spacing:-.015em; font-weight:700; color:var(--k-ink); }
.ct-article h2.section-title:first-child{ margin-top:0; }
.ct-article ul{ margin:0; padding-left:22px; display:flex; flex-direction:column; gap:8px; }
.ct-article a{ font-weight:600; }

.ct-cats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap:16px; }
.ct-cat{ display:flex; gap:16px; align-items:center; padding:20px; color:var(--k-ink); text-decoration:none; }
.ct-cat:hover{ color:var(--k-ink); }
.ct-cat__ic{ flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-brand-soft-2); color:var(--k-primary); }
.ct-cat__name{ font-size:17px; font-weight:600; overflow-wrap:anywhere; }
.ct-cat--dark{ flex-direction:column; align-items:flex-start; justify-content:space-between; gap:12px; background:var(--k-dark-btn); border-color:var(--k-dark-btn); color:var(--k-on-dark-btn); }
.ct-cat--dark:hover{ color:var(--k-on-dark-btn); border-color:var(--k-dark-btn); }
.ct-cat--dark .ct-cat__name{ font-size:16px; }
.ct-cat--dark .ct-cat__go{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; }

.ct-steps{ margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap:16px; }
.ct-steps li{ display:flex; flex-direction:column; gap:12px; padding:24px; background:var(--k-surface); border:1px solid var(--k-line); border-radius:var(--k-r-card); }
.ct-steps__n{ font-size:13px; font-weight:700; color:var(--k-primary); }
.ct-steps__t{ font-size:18px; font-weight:600; color:var(--k-ink); }
.ct-steps__d{ font-size:15px; color:var(--k-soft); }

.ct-faqwrap{ display:flex; flex-wrap:wrap; gap:32px 64px; align-items:flex-start; }
.ct-faqwrap__head{ flex:1 1 280px; min-width:0; display:flex; flex-direction:column; gap:8px; }
.ct-faqwrap .ct-faq{ flex:999 1 560px; min-width:0; }

.ct-cta{ display:flex; flex-wrap:wrap; gap:32px; align-items:center; justify-content:space-between; padding:clamp(28px, 5vw, 56px); border-radius:var(--k-r-xl); background:var(--k-dark-btn); color:var(--k-on-dark-btn); }
.ct-cta__text{ flex:999 1 420px; min-width:0; display:flex; flex-direction:column; gap:12px; }
.ct-cta h2{ margin:0; font-size:clamp(26px, 3.4vw, 36px); line-height:1.15; letter-spacing:-.025em; color:inherit; }
.ct-cta p{ margin:0; max-width:520px; opacity:.8; }
.ct-cta__actions{ display:flex; gap:12px; flex-wrap:wrap; }
.ct-cta .k-btn--light{ background:var(--k-on-dark-btn); color:var(--k-dark-btn); }
.ct-cta .k-btn--light:hover{ opacity:.9; color:var(--k-dark-btn); }
.ct-cta .k-btn--outline{ border-color:currentColor; color:var(--k-on-dark-btn); }
.ct-cta .k-btn--outline:hover{ background:rgba(127,127,127,.18); color:var(--k-on-dark-btn); }

/* ---------- News ---------- */
.ct-pagehead{ border-bottom:1px solid var(--k-line); background:var(--k-surface); }
.ct-pagehead__in{ display:flex; flex-direction:column; gap:20px; padding-top:28px; padding-bottom:32px; }
.ct-pagehead__row{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.ct-pagehead__text{ display:flex; flex-direction:column; gap:6px; }
.ct-news{ display:flex; flex-direction:column; gap:24px; padding-top:40px; padding-bottom:96px; }
.ct-post{ display:flex; flex-wrap:wrap; gap:24px 40px; align-items:center; padding:16px; border-radius:var(--k-r-panel); }
.ct-post__media{ flex:1 1 400px; max-width:100%; aspect-ratio:16 / 10; border-radius:14px; background:var(--k-surface-2); display:flex; align-items:center; justify-content:center; overflow:hidden; color:var(--k-primary); }
.ct-post__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.ct-post__tile{ display:flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:20px; background:var(--k-surface); color:var(--k-primary); box-shadow:0 1px 2px rgba(15,23,42,.06); }
.ct-post__body{ flex:999 1 420px; min-width:0; display:flex; flex-direction:column; gap:12px; padding:8px 16px 8px 0; }
.ct-post__meta{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:13px; color:var(--k-muted); }
.ct-post__title{ margin:0; font-size:28px; line-height:1.2; letter-spacing:-.02em; font-weight:700; overflow-wrap:anywhere; }
.ct-post__title a{ color:var(--k-ink); text-decoration:none; }
.ct-post__title a:hover{ color:var(--k-ink); text-decoration:underline; }
.ct-post__sum{ margin:0; max-width:560px; color:var(--k-soft); line-height:1.6; }
.ct-post--first .ct-post__media{ background:var(--k-brand-soft-2); }

.ct-newsart{ max-width:720px; margin:0 auto; padding:48px clamp(16px, 4vw, 24px) 64px; box-sizing:content-box; display:flex; flex-direction:column; }
.ct-newsart__meta{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:28px; font-size:14px; color:var(--k-muted); }
.ct-newsart h1.ct-newsart__title{ margin:16px 0 0; font-size:clamp(32px, 4.4vw, 44px); line-height:1.12; letter-spacing:-.03em; font-weight:700; text-wrap:balance; overflow-wrap:anywhere; }
.ct-newsart__lead{ margin:16px 0 0; font-size:20px; line-height:1.55; color:var(--k-soft); }
.ct-newsart__cover{ margin-top:32px; width:100%; aspect-ratio:16 / 9; object-fit:cover; border-radius:var(--k-r-panel); border:1px solid var(--k-line); display:block; }
.ct-newsart .ct-article{ margin-top:40px; font-size:18px; color:var(--k-ink-2); }
.ct-newsart__back{ align-self:flex-start; margin-top:40px; padding-top:16px; border-top:1px solid var(--k-line); width:100%; }
.ct-news-more{ background:var(--k-bg); border-top:1px solid var(--k-line); }
.ct-news-more__in{ max-width:960px; margin:0 auto; padding:64px clamp(16px, 4vw, 40px); display:flex; flex-direction:column; gap:24px; box-sizing:border-box; }
.ct-news-more h2{ margin:0; font-size:22px; line-height:1.3; letter-spacing:-.015em; }
.ct-news-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap:16px; }
.ct-news-mini{ display:flex; gap:16px; align-items:center; padding:12px; color:var(--k-ink); text-decoration:none; }
.ct-news-mini:hover{ color:var(--k-ink); }
.ct-news-mini__img{ flex:none; width:112px; height:112px; border-radius:var(--k-r); background:var(--k-surface-2); color:var(--k-primary); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.ct-news-mini__img img{ width:100%; height:100%; object-fit:cover; }
.ct-news-mini__body{ min-width:0; display:flex; flex-direction:column; gap:6px; padding-right:8px; }
.ct-news-mini__body time{ font-size:13px; color:var(--k-muted); }
.ct-news-mini__title{ font-size:17px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.ct-preview-bar{ margin-top:16px; }

/* ---------- Pricing ---------- */
.ct-plans{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap:16px; }
.ct-plan{ display:flex; flex-direction:column; gap:16px; padding:28px; background:var(--k-surface); border:1px solid var(--k-line); border-radius:var(--k-r-card); }
.ct-plan--free{ border-color:var(--k-brand-soft); background:var(--k-brand-soft-2); }
.ct-plan__name{ margin:0; font-size:18px; font-weight:600; }
.ct-plan__price{ font-size:36px; line-height:1.1; font-weight:700; letter-spacing:-.02em; }
.ct-plan__price small{ font-size:15px; font-weight:500; color:var(--k-soft); letter-spacing:0; }
.ct-plan__desc{ margin:0; font-size:15px; color:var(--k-soft); }
.ct-plan ul{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px; }
.ct-plan li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; color:var(--k-ink-2); }
.ct-plan li .ct-check-ic{ width:22px; height:22px; }
.ct-plan__rows{ display:flex; flex-direction:column; gap:10px; }
.ct-plan__rows > div{ display:flex; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px solid var(--k-line); font-size:15px; }
.ct-plan__rows > div:last-child{ border-bottom:0; padding-bottom:0; }
.ct-plan__rows strong{ white-space:nowrap; }
.ct-callout{ display:flex; gap:16px; align-items:flex-start; padding:24px; border:1px solid var(--k-line); border-radius:var(--k-r-card); background:var(--k-bg); }
.ct-callout__ic{ flex:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:var(--k-r); background:var(--k-sponsor-bg); color:var(--k-sponsor-ink); }
.ct-callout h2{ margin:0 0 6px; font-size:18px; line-height:1.35; }
.ct-callout p{ margin:0; color:var(--k-soft); max-width:72ch; }

/* ---------- Error pages ---------- */
.ct-err{ max-width:840px; margin:0 auto; padding:clamp(56px, 7vw, 96px) var(--k-gutter); box-sizing:border-box; display:flex; flex-direction:column; align-items:center; text-align:center; }
.ct-err .nf-code{ display:flex; align-items:center; justify-content:center; gap:.06em; margin:0; font-size:clamp(112px, 16vw, 168px); line-height:1; font-weight:700; letter-spacing:-.05em; color:var(--k-ink); font-family:inherit; }
.ct-err .nf-mark{ display:inline-flex; align-items:center; justify-content:center; width:.78em; height:.78em; margin:0; color:var(--k-line-3); background:none; border:0; box-shadow:none; animation:none; }
.ct-err .nf-mark svg{ width:100%; height:100%; }
.ct-err .nf-mark .nf-mark__k{ stroke:var(--k-brand); }
.ct-err h1{ margin:24px 0 0; font-size:clamp(30px, 4vw, 40px); line-height:1.1; letter-spacing:-.03em; text-wrap:balance; }
.ct-err__text{ margin:12px 0 0; max-width:520px; font-size:17px; line-height:1.6; color:var(--k-soft); }
.ct-err .ct-search{ margin:32px auto 0; }
.ct-err__links{ align-self:stretch; margin-top:40px; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap:12px; text-align:left; }
.ct-err__link{ display:flex; flex-direction:column; gap:10px; padding:18px; color:var(--k-ink); text-decoration:none; font-weight:600; }
.ct-err__link:hover{ color:var(--k-ink); }
.ct-err__link strong{ display:block; margin-top:6px; font-size:16px; line-height:1.3; }
.ct-err__sub{ display:block; margin-top:-8px; font-size:13px; font-weight:400; color:var(--k-muted); }
.ct-err__link span{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:var(--k-r); background:var(--k-brand-soft-2); color:var(--k-primary); }
.ct-err__cats{ margin-top:40px; display:flex; flex-direction:column; align-items:center; gap:12px; }
.ct-err__cats h2{ margin:0; font-size:14px; font-weight:600; color:var(--k-muted); }
.ct-err__cats .k-chips{ justify-content:center; }
.ct-err__actions{ margin-top:32px; display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.ct-err .ct-more svg{ vertical-align:-2px; margin-left:4px; }
/* The code a visitor quotes to support after a 500: monospace so it copies
   and reads back unambiguously. */
.ct-err__ref{ align-self:stretch; max-width:500px; width:100%; margin:40px auto 0; padding:14px 16px; display:flex; align-items:center; gap:16px; text-align:left; border:1px solid var(--k-line); border-radius:var(--k-r); background:var(--k-bg); }
.ct-err__ref-main{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.ct-err__ref-label{ font-size:12px; font-weight:600; color:var(--k-muted); }
.ct-err__ref code{ font-family:ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size:13px; color:var(--k-ink); overflow-wrap:anywhere; }
.ct-err__ref-help{ font-size:12px; color:var(--k-muted); }

/* ---------- Mobile ---------- */
.ct-mobile-cta{ display:none; }
@media (max-width: 767px){
  .ct-detail{ gap:32px; }
  .ct-detail__main{ flex-basis:100%; gap:36px; }
  .ct-detail__aside{ flex-basis:100%; }
  .ct-head__top{ flex-wrap:wrap; }
  .ct-gallery__thumbs{ grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; }
  .ct-list > li, .ct-list > a{ padding:14px 16px; }
  .ct-app__side{ width:100%; justify-content:space-between; }
  .ct-app__price{ align-items:flex-start; }
  .ct-stats > div{ padding:14px 16px; }
  .ct-tabs{ gap:20px; margin-top:28px; }
  .ct-profile__top{ align-items:flex-start; }
  .ct-hero{ gap:32px; }
  .ct-hero__aside{ max-width:none; }
  .ct-post{ padding:12px; }
  .ct-post__body{ padding:0 4px 4px; }
  .ct-post__title{ font-size:22px; }
  .ct-news-mini__img{ width:88px; height:88px; }
  .ct-faqwrap{ gap:20px; }
  .ct-ownerbar__in{ align-items:flex-start; }
  .ct-search{ padding-left:14px; }
  .ct-search .k-btn{ padding:0 14px; }
  .ct-mobile-cta{
    display:flex; align-items:center; position:sticky; bottom:0; z-index:20; gap:16px; padding:12px var(--k-gutter) 16px;
    background:var(--k-surface); border-top:1px solid var(--k-line); box-shadow:0 -8px 24px -16px rgba(15,23,42,.18);
  }
  .ct-mobile-cta__price{ flex:none; display:flex; flex-direction:column; line-height:1.3; font-size:14px; color:var(--k-muted); }
  .ct-mobile-cta__price strong{ font-size:21px; font-weight:700; letter-spacing:-0.01em; color:var(--k-ink); }
  .ct-mobile-cta__note{ font-size:13px; }
  .ct-mobile-cta .k-btn{ flex:1 1 auto; min-width:0; height:48px; border-radius:12px; font-size:15px; }
  body:has(.ct-mobile-cta) .support-bubble{ bottom:96px; }
}

/* Public profile wrapper keeps .profile-wrap (seller custom CSS is scoped to it). */
.ct-profile.profile-wrap{ padding:0 var(--k-gutter) clamp(56px, 7vw, 96px); }
.ct-review__foot .ct-report[open]{ flex-basis:100%; }
.lightbox-nav[hidden], .lightbox-counter[hidden], .lightbox-overlay[hidden]{ display:none; }
.ct-cover.profile-cover{ position:static; width:auto; left:auto; margin-left:0; height:160px; }

/* Service detail: rating distribution + sidebar add-ons (design match). */
.ct-rating-sum--dist{ align-items:center; gap:20px 40px; }
.ct-rating-sum__head{ display:flex; flex-direction:column; gap:8px; flex:none; }
.ct-rating-dist{ flex:1 1 280px; display:flex; flex-direction:column; gap:8px; font-size:13px; color:var(--k-soft); }
.ct-rating-dist[hidden]{ display:none; }
.ct-rating-dist__row{ display:flex; align-items:center; gap:12px; }
.ct-rating-dist__label{ display:inline-flex; align-items:center; gap:4px; width:44px; flex:none; }
.ct-rating-dist__label svg{ color:var(--k-star); }
.ct-rating-dist__bar{ flex:1 1 auto; height:8px; border-radius:999px; background:var(--k-line); overflow:hidden; }
.ct-rating-dist__bar > span{ display:block; width:0; height:100%; border-radius:999px; background:var(--k-primary); transition:width .3s ease; }
.ct-rating-dist__count{ width:24px; flex:none; text-align:right; font-weight:600; color:var(--k-ink); }
.ct-addons{ display:flex; flex-direction:column; gap:2px; margin:0; padding:0; border:0; min-width:0; }
.ct-addons legend{ padding:0; margin-bottom:8px; }
.ct-addons__item{ align-items:center; }
.ct-addons__item input{ margin:0; }
.ct-addons__name{ flex:1 1 auto; min-width:0; }
.ct-addons__price{ font-weight:600; color:var(--k-soft); white-space:nowrap; }
.ct-addons__total{ display:flex; justify-content:space-between; align-items:baseline; margin-top:8px; padding-top:12px; border-top:1px dashed var(--k-line); font-size:14px; color:var(--k-soft); }
.ct-addons__total strong{ font-size:18px; color:var(--k-ink); }
.ct-share{ margin-top:40px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 0; border-top:1px solid var(--k-line); border-bottom:1px solid var(--k-line); }
.ct-share__label{ font-size:14px; font-weight:600; color:var(--k-soft); }
.ct-share__btns{ display:flex; gap:8px; flex-wrap:wrap; }
.ct-share__btns .k-btn{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.ct-share__btns .k-btn[hidden]{ display:none; }
.ct-share + .ct-newsart__back{ border-top:0; margin-top:0; }
