:root {
  --c-navy: #0a1628;
  --c-navy-80: #1a2b45;
  --c-navy-60: #2d4163;
  --c-electric: #e86520;
  --c-electric-d: #c4510f;
  --c-seal: #2f6b58;
  --c-seal-light: #e4efe9;
  --c-amber: #b9770e;
  --c-amber-light: #fdf1e0;
  --c-rose: #b3261e;
  --c-rose-light: #fbebea;
  --c-gray-10: #f8fafc;
  --c-gray-20: #f1f5f9;
  --c-border: #e2e8f0;
  --radius-card: 1rem;
  --radius-btn: .625rem;
  --shadow-card: 0 1px 2px rgba(10,22,40,.06), 0 8px 24px rgba(10,22,40,.06);
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
body { font-family: 'Tajawal', system-ui, sans-serif; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}
.site-nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; gap: 24px;
}
.site-nav__logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.site-nav__wordmark-a { font-weight: 800; color: var(--c-navy); font-size: 15px; letter-spacing: .04em; }
.site-nav__wordmark-p { font-weight: 800; color: var(--c-electric); font-size: 15px; letter-spacing: .04em; }
.site-nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.site-nav__link {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--c-navy-60); text-decoration: none; transition: var(--transition);
}
.site-nav__link:hover { background: var(--c-gray-20); color: var(--c-navy); }
.site-nav__link.active { background: var(--c-navy); color: #fff; }
.site-nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.site-nav__guest-hint { font-size: 13px; color: #94a3b8; }

.site-nav__user { position: relative; }
.site-nav__user-btn {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px;
  border-radius: 999px; border: 1px solid var(--c-border); background: #fff; cursor: pointer;
}
.site-nav__avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.site-nav__user-name { font-size: 13px; font-weight: 700; color: var(--c-navy); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 6px; display: none;
}
.nav-dropdown.open { display: block; }
.nav-dropdown__header { padding: 10px 12px; }
.nav-dropdown__name { font-size: 14px; font-weight: 700; color: var(--c-navy); }
.nav-dropdown__email { font-size: 12px; color: #64748b; }
.nav-dropdown__divider { height: 1px; background: var(--c-border); margin: 4px 0; }
.nav-dropdown__section { display: flex; flex-direction: column; }
.dd-item {
  display: block; width: 100%; text-align: right; padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--c-navy-60); text-decoration: none; border: none; background: none; cursor: pointer;
}
.dd-item:hover { background: var(--c-gray-20); }
.dd-item--danger { color: var(--c-rose); }

.site-nav__hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.site-nav__hamburger span { width: 20px; height: 2px; background: var(--c-navy); border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 50; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(10,22,40,.5); }
.mobile-menu__panel {
  position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: 82%; max-width: 340px;
  background: #fff; padding: 20px; overflow-y: auto;
}
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu__close { background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link { padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--c-navy); text-decoration: none; }
.mobile-menu__link:hover { background: var(--c-gray-20); }

@media (max-width: 780px) {
  .site-nav__links { display: none; }
  .site-nav__hamburger { display: flex; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--c-navy); color: #cbd5e1; margin-top: 64px; }
.site-footer__inner {
  max-width: 1180px; margin: 0 auto; padding: 48px 20px 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.site-footer__tagline { font-size: 13.5px; color: #94a3b8; margin-top: 10px; max-width: 40ch; line-height: 1.7; }
.site-footer__col-title { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 12px; text-transform: uppercase; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__links a { color: #94a3b8; text-decoration: none; font-size: 13.5px; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #64748b;
}
@media (max-width: 640px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-btn); font-size: 14px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: var(--transition);
}
.btn--primary { background: var(--c-electric); color: #fff; }
.btn--primary:hover { background: var(--c-electric-d); }
.btn--dark { background: var(--c-navy); color: #fff; }
.btn--dark:hover { background: var(--c-navy-80); }
.btn--ghost { background: #fff; color: var(--c-navy); border-color: var(--c-border); }
.btn--ghost:hover { background: var(--c-gray-20); }
.btn--sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Cards / surfaces ───────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* ── Verification status badges (CredentialVerification.Status) ── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.badge--verified   { background: var(--c-seal-light); color: var(--c-seal); }
.badge--pending     { background: var(--c-amber-light); color: var(--c-amber); }
.badge--rejected   { background: var(--c-rose-light); color: var(--c-rose); }
.badge--unverified { background: var(--c-gray-20); color: #64748b; }

/* ── Forms ──────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--c-navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--c-border); border-radius: 9px; padding: 10px 12px; font-size: 14px;
  font-family: inherit; background: #fff; color: var(--c-navy);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-electric); outline-offset: 1px; }

/* ── Alerts ─────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 13.5px; }
.alert--info { background: var(--c-seal-light); color: var(--c-seal); }
.alert--error { background: var(--c-rose-light); color: var(--c-rose); }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════
   Portfolio public rendering (SectionRendererViewComponent)
   ══════════════════════════════════════════════════════════ */

.pf-section { padding: 64px 20px; position: relative; }
.pf-section__inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
/* خلفية قسم مخصصة (صورة) — طبقة تعتيم اختيارية فوقها لتحسين تباين النص، يُتحكَّم بها عبر bgOverlayOpacity */
.pf-section--has-bg-image::before {
  content: ""; position: absolute; inset: 0; background: #000;
  opacity: var(--pf-overlay-opacity, 0); pointer-events: none;
}
.pf-section__title { font-size: 26px; font-weight: 800; margin-bottom: 28px; text-align: center; }
.pf-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px;
  color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer;
}
.pf-btn--sm { padding: 7px 14px; font-size: 12.5px; margin-top: 10px; }
.pf-empty-note { border: 1px dashed; border-radius: 12px; padding: 28px; text-align: center; }

/* Hero */
.pf-hero { padding: 72px 20px; position: relative; overflow: hidden; }
.pf-hero--has-bg-image::before {
  content: ""; position: absolute; inset: 0; background: #000;
  opacity: var(--pf-overlay-opacity, 0); pointer-events: none; z-index: 0;
}
.pf-hero__inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 48px; position: relative; z-index: 1; }
.pf-hero__inner--centered { flex-direction: column; text-align: center; }
.pf-hero--split-left .pf-hero__inner { flex-direction: row-reverse; }
.pf-hero__media img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pf-hero__content { flex: 1; }
.pf-hero__content h1 { font-size: 36px; font-weight: 800; margin: 0 0 6px; }
.pf-hero__job { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.pf-hero__bio { font-size: 15px; line-height: 1.8; max-width: 60ch; margin-bottom: 22px; }
.pf-hero__actions { margin-bottom: 16px; }
.pf-hero__socials { display: flex; gap: 16px; flex-wrap: wrap; }
.pf-hero__socials a { font-size: 13px; text-decoration: underline; opacity: .8; }
.pf-hero--fullscreen { min-height: 480px; display: flex; align-items: center; }
.pf-hero--fullscreen .pf-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(.4); z-index: 0;
}
.pf-hero--fullscreen .pf-hero__inner { position: relative; z-index: 1; }
.pf-hero--fullscreen .pf-hero__content h1,
.pf-hero--fullscreen .pf-hero__job,
.pf-hero--fullscreen .pf-hero__bio { color: #fff !important; }
@media (max-width: 700px) { .pf-hero__inner { flex-direction: column !important; text-align: center; } }

/* Hero — cover: صفحة غلاف ضخمة (نمط أغلفة ملفات Behance/PDF) — وردمارك ضخم + اسم +
   تسمية صغيرة أسفل اليسار في عمود، ورسم/صورة كامل الارتفاع في العمود الآخر. */
.pf-hero--cover { padding: 0; min-height: 100vh; }
.pf-hero-cover__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.pf-hero-cover__text { display: flex; flex-direction: column; justify-content: space-between; padding: 56px 40px; }
.pf-hero-cover__wordmark { font-size: clamp(48px, 8vw, 110px); font-weight: 900; line-height: .95; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.pf-hero-cover__name { font-size: 18px; font-weight: 700; margin: 18px 0 2px; text-transform: uppercase; letter-spacing: .04em; }
.pf-hero-cover__job { font-size: 14px; font-weight: 600; margin: 0; }
.pf-hero-cover__label { font-size: 13px; margin-top: auto; padding-top: 40px; }
.pf-hero-cover__media { position: relative; overflow: hidden; }
.pf-hero-cover__media img, .pf-hero-cover__media-empty { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
@media (max-width: 800px) {
  .pf-hero-cover__grid { grid-template-columns: 1fr; min-height: auto; }
  .pf-hero-cover__media img, .pf-hero-cover__media-empty { min-height: 260px; }
  .pf-hero-cover__label { padding-top: 20px; }
}

/* About */
.pf-about { display: flex; gap: 32px; align-items: flex-start; }
.pf-about__photo { width: 140px; height: 140px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.pf-about__stats { display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap; }
.pf-stat { display: flex; flex-direction: column; }
.pf-stat__value { font-size: 22px; font-weight: 800; }
.pf-stat__label { font-size: 12.5px; }
@media (max-width: 600px) { .pf-about { flex-direction: column; align-items: center; text-align: center; } }

/* About — cv-grid: سيرة ذاتية كشبكة أعمدة كثيفة (خبرات/دورات/شهادات/مهارات/لغات) */
.pf-cvgrid__header { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.pf-cvgrid__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pf-cvgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.pf-cvgrid__col h3 { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; opacity: .6; }
.pf-cvgrid__entry { display: flex; flex-direction: column; margin-bottom: 12px; }
.pf-cvgrid__entry strong { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.pf-cvgrid__entry span { font-size: 12px; line-height: 1.5; }
.pf-cvgrid__date { font-variant-numeric: tabular-nums; opacity: .7; }
.pf-cvgrid__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-cvgrid__tag { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border: 1px solid; border-radius: 999px; }
@media (max-width: 600px) { .pf-cvgrid__header { flex-direction: column; align-items: center; text-align: center; } }

/* Projects — كل مشروع "قصة" (صوره مكدَّسة عمودياً بارتفاعها الطبيعي) أو "كاروسيل" (تمرير
   أفقي)، بلا صندوق/ظل "بطاقة" تقليدي. موضع عنوان/وصف المشروع (titlePosition) عام على
   القسم كله: overlay-bottom (افتراضي) / overlay-top / below. */
.pf-gallery { display: grid; grid-template-columns: repeat(var(--pf-cols, 3), 1fr); gap: 14px; }
.pf-gallery--list { grid-template-columns: 1fr; }
.pf-gallery--carousel { grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); overflow-x: auto; padding-bottom: 6px; }
.pf-gallery-item { margin: 0; display: flex; flex-direction: column; }
.pf-gallery-item__frame { position: relative; border-radius: 12px; overflow: hidden; }

/* قصة: صورة تلو الأخرى بارتفاعها الطبيعي — كأنها دفتر عرض/case study بالتمرير */
.pf-project-images--story { display: flex; flex-direction: column; gap: 8px; }

/* كاروسيل: تمرير أفقي بنقاط أسفله */
.pf-project-images--carousel { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; }
.pf-project-images--carousel .pf-project-image { flex: 0 0 82%; scroll-snap-align: start; }
.pf-project-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.pf-project-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(120,120,120,.35); }
.pf-project-dots span.is-active { background: var(--pf-accent, #1F5FD1); }

/* شكل إطار كل صورة (يُضبَط لكل صورة على حدة) */
.pf-project-image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #111; }
.pf-project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-project-image--rounded { border-radius: 20px; }
.pf-project-image--circle { border-radius: 50%; aspect-ratio: 1/1 !important; }
.pf-project-image--circle .pf-project-image__caption { display: none; }

/* موضع النص فوق كل صورة على حدة — bottom-left شريط تدرّج كامل العرض (الأكثر شيوعاً،
   نمط "اسم مشروع + موقع" الأنيق)، وباقي المواضع السبعة "badge" مضغوط بخلفية داكنة شبه شفافة. */
.pf-project-image__caption { position: absolute; font-weight: 700; color: #fff; line-height: 1.3; max-width: 85%; }
.pf-caption--bottom-left {
  inset-inline: 0; bottom: 0; max-width: none; padding: 22px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
}
.pf-caption--top-left, .pf-caption--top-center, .pf-caption--top-right,
.pf-caption--center, .pf-caption--bottom-center, .pf-caption--bottom-right {
  padding: 8px 12px; border-radius: 8px; background: rgba(10,12,16,.55); backdrop-filter: blur(2px);
}
.pf-caption--top-left     { top: 12px; inset-inline-start: 12px; }
.pf-caption--top-center   { top: 12px; inset-inline-start: 50%; transform: translateX(-50%); text-align: center; }
.pf-caption--top-right    { top: 12px; inset-inline-end: 12px; }
.pf-caption--center       { top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); text-align: center; }
.pf-caption--bottom-center{ bottom: 12px; inset-inline-start: 50%; transform: translateX(-50%); text-align: center; }
.pf-caption--bottom-right { bottom: 12px; inset-inline-end: 12px; }

/* حجم خط النص فوق الصورة — من تعليق صغير إلى عنوان غلاف ضخم */
.pf-caption-size--caption { font-size: 13px; font-weight: 600; }
.pf-caption-size--heading { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.pf-caption-size--display { font-size: clamp(36px, 7vw, 64px); font-weight: 900; letter-spacing: -0.02em; }

/* overlay-bottom / overlay-top: عنوان/وصف/روابط المشروع فوق صوره */
.pf-gallery-item--overlay-bottom .pf-gallery-item__caption,
.pf-gallery-item--overlay-top .pf-gallery-item__caption {
  position: absolute; inset-inline: 0; padding: 16px 16px 14px;
  display: flex; flex-direction: column; gap: 4px; pointer-events: none;
}
.pf-gallery-item--overlay-bottom .pf-gallery-item__caption { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 70%); }
.pf-gallery-item--overlay-top .pf-gallery-item__caption { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 70%); }
.pf-gallery-item__caption .pf-gallery-item__title { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; pointer-events: auto; }
.pf-gallery-item__caption .pf-gallery-item__desc { color: rgba(255,255,255,.85); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.pf-gallery-item__caption .pf-gallery-item__links { display: flex; gap: 14px; margin-top: 6px; pointer-events: auto; }
.pf-gallery-item__caption .pf-gallery-item__links a { color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: underline; }

/* below: الصور كاملة بلا نص فوقها، والتعليق شريط منفصل أسفلها (نمط عرض تقديمي) */
.pf-gallery-item__caption--below {
  position: static; padding: 10px 2px 0; display: flex; flex-direction: column; gap: 4px;
}
.pf-gallery-item__caption--below .pf-gallery-item__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.pf-gallery-item__caption--below .pf-gallery-item__desc { font-size: 12.5px; line-height: 1.5; opacity: .85; }
.pf-gallery-item__caption--below .pf-gallery-item__links { display: flex; gap: 14px; margin-top: 2px; }
.pf-gallery-item__caption--below .pf-gallery-item__links a { font-size: 12.5px; font-weight: 700; text-decoration: underline; }

@media (max-width: 700px) {
  .pf-gallery { grid-template-columns: 1fr !important; }
}

/* Projects — index: قائمة فهرس مرقّمة (رقم كبير + عنوان + وسم + مدى تاريخ) بدل معرض صور،
   نمط جدول محتويات ملف PDF/Behance. */
.pf-project-index { display: flex; flex-direction: column; }
.pf-project-index__row {
  display: flex; align-items: baseline; gap: 20px; padding: 18px 0;
  border-bottom: 1px solid rgba(120,120,120,.2); flex-wrap: wrap;
}
.pf-project-index__num { font-size: 32px; font-weight: 300; font-variant-numeric: tabular-nums; flex-shrink: 0; opacity: .85; }
.pf-project-index__body { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.pf-project-index__title { font-size: 17px; font-weight: 700; }
.pf-project-index__desc { font-size: 13px; margin-top: 2px; opacity: .8; }
.pf-project-index__date { font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .7; flex-shrink: 0; }
.pf-project-index__tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border: 1px solid; border-radius: 999px; flex-shrink: 0;
}

/* Projects — كتل مزدوجة داخل المشروع (Mood Board/مخطط/لوحة خامات): مجموعة صور بنفس
   اسم المجموعة تُعرض ككتلة لها عنوانها الخاص، وإن كانت صورتين بالضبط تُعرَضان جنباً إلى جنب. */
.pf-project-blocks { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.pf-project-block__title { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 8px; opacity: .6; }
.pf-project-block__images { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.pf-project-block__images--pair { grid-template-columns: 1fr 1fr; }
.pf-project-block .pf-project-image { aspect-ratio: 4/3; }

.project-card--hidden { opacity: .7; border: 1px dashed var(--c-electric); }

/* Skills */
.pf-skills-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pf-skill-tag { color: #fff; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pf-skills-bars { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 0 auto; }
.pf-skill-bar__label { font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.pf-skill-bar__track { height: 8px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.pf-skill-bar__fill { height: 100%; border-radius: 999px; }
.pf-skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.pf-skill-tile { border: 1px solid; border-radius: 10px; padding: 14px; text-align: center; display: flex; flex-direction: column; gap: 4px; }

/* Experience */
.pf-timeline { position: relative; padding-inline-start: 24px; }
.pf-timeline::before { content: ''; position: absolute; inset-inline-start: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--c-border); }
.pf-timeline__item { position: relative; padding-bottom: 28px; }
.pf-timeline__dot { position: absolute; inset-inline-start: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; }
.pf-exp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pf-exp-card { border-radius: var(--radius-card); padding: 18px; box-shadow: var(--shadow-card); }
.pf-exp-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.pf-exp-card__head h3 { font-size: 15px; font-weight: 700; margin: 0; }
.pf-exp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pf-exp-list__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Certificates */
.pf-cert-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pf-cert-card { border-radius: var(--radius-card); padding: 18px; box-shadow: var(--shadow-card); }
.pf-cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pf-cert-list li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }

/* Testimonials */
.pf-testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pf-testimonial-card { border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card); }
.pf-stars { font-size: 14px; margin-bottom: 8px; }
.pf-testimonial-card__author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pf-testimonial-card__author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* Contact */
.pf-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.pf-contact__info { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pf-contact__info a { text-decoration: none; font-weight: 600; }
.pf-contact-form { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 700px) { .pf-contact { grid-template-columns: 1fr; } }

/* Custom */
.pf-custom-content { line-height: 1.9; white-space: pre-wrap; }

/* ══════════════════════════════════════════════════════════
   Dashboard shell
   ══════════════════════════════════════════════════════════ */
.dash { display: flex; min-height: calc(100vh - 68px); max-width: 1280px; margin: 0 auto; }
.dash__sidebar { width: 220px; flex-shrink: 0; padding: 28px 16px; border-inline-end: 1px solid var(--c-border); }
.dash__nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 90px; }
.dash__link { padding: 10px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--c-navy-60); text-decoration: none; }
.dash__link:hover { background: var(--c-gray-20); }
.dash__link.active { background: var(--c-navy); color: #fff; }
.dash__divider { height: 1px; background: var(--c-border); margin: 10px 4px; }
.dash__content { flex: 1; padding: 28px 24px; min-width: 0; }
@media (max-width: 820px) {
  .dash { flex-direction: column; }
  .dash__sidebar { width: 100%; border-inline-end: none; border-bottom: 1px solid var(--c-border); padding: 16px; }
  .dash__nav { flex-direction: row; flex-wrap: wrap; position: static; }
}

.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dash-header h1 { font-size: 22px; font-weight: 800; color: var(--c-navy); margin: 0; }
.dash-header p { color: var(--c-navy-60); font-size: 13.5px; margin: 4px 0 0; }
.dash-empty { text-align: center; padding: 64px 20px; }

/* Import wizard */
.import-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--c-border); padding-bottom: 4px; }
.import-tab { padding: 8px 14px; border: none; background: none; border-radius: 8px 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--c-navy-60); cursor: pointer; }
.import-tab.active { background: var(--c-gray-20); color: var(--c-navy); }
.import-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.import-card { border: 2px solid var(--c-border); border-radius: 12px; overflow: hidden; cursor: pointer; display: block; position: relative; background: #fff; }
.import-card input { position: absolute; top: 8px; inset-inline-end: 8px; width: 18px; height: 18px; z-index: 1; }
.import-card:has(input:checked) { border-color: var(--c-electric); }
.import-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.import-card__body { padding: 10px 12px; }
.import-card__body strong { display: block; font-size: 13.5px; color: var(--c-navy); }
.import-card__body small { color: #94a3b8; font-size: 12px; }
.import-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--c-border); font-size: 13.5px; color: var(--c-navy-60); }
.template-card { border: 2px solid var(--c-border); border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; padding: 0; text-align: right; }
.template-card:hover { border-color: var(--c-electric); }
.template-card__swatch { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--c-navy), var(--c-electric)); }

/* Section list (builder) */
.section-row { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; background: var(--c-gray-10); font-size: 13px; }
.section-row--hidden { opacity: .5; }
.section-row__handle { cursor: grab; color: #94a3b8; }
.section-row__label { flex: 1; font-weight: 600; color: var(--c-navy); }
.section-row__vis { background: none; border: none; cursor: pointer; font-size: 14px; }
.section-row__edit { font-size: 12px; color: var(--c-electric); text-decoration: none; font-weight: 600; }

/* Theme editor */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field input[type=color] { width: 40px; height: 40px; border: 1px solid var(--c-border); border-radius: 8px; padding: 2px; cursor: pointer; }

/* Bulk-issue rows */
.bulk-row { display: grid; grid-template-columns: 90px 90px 1fr 1fr 130px 28px; gap: 6px; align-items: center; }
.bulk-row input { border: 1px solid var(--c-border); border-radius: 7px; padding: 6px 8px; font-size: 12.5px; }
.bulk-row button { background: none; border: none; color: var(--c-rose); cursor: pointer; font-size: 14px; }
@media (max-width: 700px) { .bulk-row { grid-template-columns: 1fr 1fr; } }
