/* ======================================================================
   MyPortfolioHub Resume Builder v12 — Taste UI refinement
   Design direction: premium utility, calm confidence, job-search focused.
   Preserves all existing routes/behavior and overrides presentation only.
   ====================================================================== */

:root {
  --taste-bg: #f6f7fa;
  --taste-bg-strong: #eef1f6;
  --taste-surface: #ffffff;
  --taste-surface-2: #fbfcfe;
  --taste-ink: #121826;
  --taste-muted: #667085;
  --taste-subtle: #98a2b3;
  --taste-line: #e3e7ee;
  --taste-line-strong: #d3d9e4;
  --taste-primary: #2f5bd3;
  --taste-primary-strong: #2449ae;
  --taste-primary-soft: #eef3ff;
  --taste-navy: #101c32;
  --taste-navy-2: #17263d;
  --taste-gold: #b9822f;
  --taste-success: #147a5b;
  --taste-danger: #c53d4c;
  --taste-radius-sm: 8px;
  --taste-radius: 12px;
  --taste-radius-lg: 16px;
  --taste-shadow-xs: 0 1px 2px rgba(16,24,40,.04);
  --taste-shadow-sm: 0 8px 24px rgba(16,24,40,.07);
  --taste-shadow: 0 20px 54px rgba(16,24,40,.11);
  --taste-font: "Outfit", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--taste-bg); }
body {
  background: var(--taste-bg);
  color: var(--taste-ink);
  font-family: var(--taste-font);
  letter-spacing: -.006em;
}
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(47,91,211,.22); outline-offset: 2px; }
::selection { background: #dce6ff; color: var(--taste-navy); }

/* Shared hierarchy */
.rb-container { width: min(1220px, calc(100% - 48px)); }
.rb-eyebrow,
.mph26-kicker {
  color: var(--taste-primary) !important;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}
.mph26-kicker::before { width: 18px; height: 2px; background: var(--taste-gold); }

.rb-btn {
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rb-btn:hover { transform: translateY(-1px); }
.rb-btn:active { transform: translateY(0); }
.rb-btn-primary,
.mph26-light-page .rb-btn-primary,
.mph26-editor-page .rb-btn-primary {
  background: var(--taste-primary) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(47,91,211,.18) !important;
}
.rb-btn-primary:hover,
.mph26-light-page .rb-btn-primary:hover,
.mph26-editor-page .rb-btn-primary:hover {
  background: var(--taste-primary-strong) !important;
  box-shadow: 0 9px 22px rgba(47,91,211,.23) !important;
}
.rb-btn-outline,
.rb-btn-ghost,
.mph26-light-page .rb-btn-outline,
.mph26-light-page .rb-btn-ghost,
.mph26-editor-page .rb-btn-outline,
.mph26-editor-page .rb-btn-ghost {
  background: #fff !important;
  color: var(--taste-ink) !important;
  border: 1px solid var(--taste-line-strong) !important;
  box-shadow: var(--taste-shadow-xs);
}
.rb-btn-outline:hover,
.rb-btn-ghost:hover,
.mph26-light-page .rb-btn-outline:hover,
.mph26-light-page .rb-btn-ghost:hover {
  border-color: #aeb9ce !important;
  background: #f9fbff !important;
}

/* Header */
.mph26-light-page .rb-header,
.rb-landing-page .rb-header {
  height: 70px;
  background: rgba(255,255,255,.9);
  border-color: rgba(227,231,238,.92);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.4);
}
.rb-header-inner { width: min(1280px, calc(100% - 48px)); }
.rb-brand { gap: 10px; }
.rb-brand-mark,
.rb-brand-mark img { width: 36px; height: 36px; border-radius: 10px; }
.rb-brand-mark { box-shadow: 0 4px 13px rgba(18,24,38,.11) !important; }
.rb-brand strong { color: var(--taste-navy) !important; font-size: 14px; font-weight: 750; }
.rb-brand small { color: #7c8799 !important; font-size: 8px; letter-spacing: .14em; }
.rb-nav { gap: 24px; }
.mph26-light-page .rb-nav > a,
.mph26-light-page .rb-header-login,
.mph26-light-page .rb-account-menu summary { color: #566174; }
.mph26-light-page .rb-nav > a:not(.rb-btn) { position: relative; font-weight: 600; }
.mph26-light-page .rb-nav > a:not(.rb-btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -9px;
  height: 2px;
  background: var(--taste-primary);
  transition: right .18s ease;
}
.mph26-light-page .rb-nav > a:hover::after,
.mph26-light-page .rb-nav > a.is-active::after { right: 0; }

/* LANDING ------------------------------------------------------------ */
.mph26-home { background: #fff; }
.mph26-hero {
  position: relative;
  padding: 94px 0 92px;
  background: #fbfcff;
  border-bottom: 1px solid var(--taste-line);
}
.mph26-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47,91,211,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,91,211,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 72%);
}
.mph26-hero-grid { position: relative; grid-template-columns: minmax(0,.88fr) minmax(470px,1.12fr); gap: 84px; }
.mph26-hero-copy h1 {
  margin: 18px 0 22px;
  max-width: 720px;
  color: var(--taste-navy);
  font-family: var(--taste-font);
  font-size: clamp(48px,5.4vw,72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 740;
}
.mph26-hero-copy h1 em {
  display: inline;
  color: var(--taste-primary);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.mph26-hero-copy > p { color: #5f6b7d; font-size: 17px; line-height: 1.7; max-width: 650px; }
.mph26-hero-actions { margin: 30px 0 21px; gap: 10px; }
.mph26-trust-row { color: #536174; gap: 10px 20px; font-size: 11px; font-weight: 650; }
.mph26-trust-row span { display: inline-flex; align-items: center; }

.mph26-hero-showcase { min-height: 570px; }
.mph26-resume-stack { width: min(540px,100%); height: 540px; }
.mph26-resume-sheet {
  width: 320px;
  border: 1px solid #d7dee9;
  border-radius: 4px;
  box-shadow: 0 22px 54px rgba(15,28,50,.16);
}
.mph26-sheet-1 { left: -8px; top: 64px; transform: rotate(-6deg); }
.mph26-sheet-2 { left: 112px; top: 4px; }
.mph26-sheet-3 { right: -6px; top: 70px; transform: rotate(6deg); }
.mph26-floating-tip {
  border-radius: 9px;
  border-color: #d8dfeb;
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(16,24,40,.10);
}
.mph26-floating-tip b { color: var(--taste-navy); font-size: 14px; }
.mph26-floating-tip span { color: #6b7688; font-size: 9px; letter-spacing: .02em; }
.mph26-tip-one { bottom: 7px; left: 18px; }
.mph26-tip-two { right: -6px; top: 14px; }

.mph26-proof-strip { background: #fff; color: var(--taste-ink); border-bottom: 1px solid var(--taste-line); }
.mph26-proof-strip > div { min-height: 74px; }
.mph26-proof-strip strong { color: #4f5b6d; font-size: 11px; font-weight: 650; }
.mph26-proof-strip div > div { color: #8b95a5; font-size: 9px; letter-spacing: .1em; }

.mph26-section { padding: 96px 0; }
.mph26-section-head { margin-bottom: 44px; }
.mph26-section-head h2,
.mph26-feature-copy h2,
.mph26-work-grid h2,
.mph26-faq-grid h2,
.mph26-final-cta h2,
.mph26-start-header h1 {
  color: var(--taste-navy);
  font-family: var(--taste-font);
  font-weight: 720;
  letter-spacing: -.045em;
}
.mph26-section-head h2 { font-size: clamp(34px,4vw,50px); line-height: 1.03; }
.mph26-section-head p { color: #6d788a; font-size: 14px; }

/* Templates on home: larger, calmer 3-up gallery */
.mph26-home-template-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.mph26-home-template-card {
  border-radius: var(--taste-radius);
  border-color: var(--taste-line);
  box-shadow: none;
  overflow: hidden;
}
.mph26-home-template-card:hover {
  transform: translateY(-4px);
  border-color: #bbc5d5;
  box-shadow: var(--taste-shadow-sm);
}
.mph26-home-template-preview { height: 455px; background: #f0f2f6; border-color: var(--taste-line); }
.mph26-home-template-preview img { transform: scale(.96); object-fit: contain; filter: drop-shadow(0 12px 18px rgba(16,24,40,.10)); }
.mph26-home-template-card:hover .mph26-home-template-preview img { transform: scale(.98); }
.mph26-home-template-preview span {
  bottom: 18px;
  border-radius: 8px;
  background: rgba(16,28,50,.94);
  font-size: 11px;
  box-shadow: 0 8px 20px rgba(16,24,40,.18);
}
.mph26-home-template-card > div { padding: 18px 18px 20px; }
.mph26-home-template-card small { color: var(--taste-primary); font-size: 9px; }
.mph26-home-template-card h3 { color: var(--taste-navy); margin: 5px 0 6px; font-size: 16px; font-weight: 700; }
.mph26-home-template-card p { color: #707b8d; font-size: 11px; }

.mph26-feature-band { background: #f6f7fa; border-color: var(--taste-line); }
.mph26-feature-grid { grid-template-columns: .72fr 1.28fr; gap: 88px; }
.mph26-feature-copy { top: 102px; }
.mph26-feature-copy h2 { font-size: 44px; }
.mph26-feature-copy p { color: #697587; font-size: 14px; }
.mph26-feature-list { gap: 0; border-top: 1px solid var(--taste-line); }
.mph26-feature-list article {
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 6px;
  border: 0;
  border-bottom: 1px solid var(--taste-line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.mph26-feature-list article > span {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbe2ec;
  color: var(--taste-primary);
}
.mph26-feature-list h3 { color: var(--taste-navy); font-size: 15px; }
.mph26-feature-list p { color: #6e798b; font-size: 11px; }

.mph26-how-grid { gap: 16px; }
.mph26-how-grid article {
  border-radius: var(--taste-radius);
  border-color: var(--taste-line);
  padding: 22px;
  box-shadow: none;
}
.mph26-how-grid article > span { right: 18px; top: 14px; color: #e5e9f0; font-size: 36px; }
.mph26-how-preview { height: 190px; border-radius: 8px; background: #f3f5f8; }
.mph26-how-grid h3 { color: var(--taste-navy); font-size: 16px; }
.mph26-how-grid p { color: #707b8d; font-size: 11px; }

.mph26-work-anywhere { background: var(--taste-navy); color: #fff; }
.mph26-work-grid h2 { color: #fff; }
.mph26-work-grid p,
.mph26-work-grid li { color: #c1c9d7; }
.mph26-work-grid li::before { color: #8db1ff; }
.mph26-device-stage { filter: drop-shadow(0 24px 32px rgba(0,0,0,.22)); }

.mph26-faq-section { background: #fff; }
.mph26-faqs { gap: 0; border-top: 1px solid var(--taste-line); }
.mph26-faqs details { border: 0; border-bottom: 1px solid var(--taste-line); border-radius: 0; padding: 0; }
.mph26-faqs summary { padding: 19px 34px 19px 0; font-size: 13px; }
.mph26-faqs p { color: #6c788a; max-width: 720px; font-size: 11px; }

.mph26-final-cta { padding: 70px 0; background: #fff; }
.mph26-final-cta > div {
  padding: 42px 46px;
  border-radius: var(--taste-radius-lg);
  border: 0;
  background: var(--taste-navy);
  box-shadow: 0 22px 52px rgba(16,28,50,.14);
}
.mph26-final-cta .mph26-kicker { color: #8fb0ff !important; }
.mph26-final-cta h2 { color: #fff; }
.mph26-final-cta p { color: #bdc7d5; }

/* TEMPLATE LIBRARY --------------------------------------------------- */
.mph26-light-page.v7-app-page,
.mph26-light-page .v7-app-shell,
.mph26-light-page .v7-app-main,
.mph26-light-page .v7-public-template-main { background: var(--taste-bg) !important; }

/* public template page */
.v7-public-template-main { min-height: calc(100vh - 70px); padding: 48px 0 80px; }
.v7-template-content { max-width: 1260px; }
.v7-template-hero { gap: 36px; padding: 22px 0 28px; }
.mph26-light-page .v7-template-hero h1 {
  max-width: 780px;
  font-family: var(--taste-font) !important;
  font-size: clamp(36px,4.5vw,56px) !important;
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 730;
}
.mph26-light-page .v7-template-hero p { max-width: 720px; font-size: 12px; line-height: 1.7; }
.v7-template-hero-note {
  min-width: 210px;
  border-radius: 10px;
  border: 1px solid var(--taste-line);
  background: #fff;
  box-shadow: none;
}
.v7-template-hero-note > span { color: var(--taste-primary); font-family: var(--taste-font); font-weight: 750; }

.mph26-light-page .v7-template-controls {
  position: sticky;
  top: 82px;
  z-index: 20;
  padding: 10px 12px;
  border-radius: 11px !important;
  box-shadow: 0 6px 20px rgba(16,24,40,.06) !important;
}
.v7-template-search-public,
.v7-global-search { border-radius: 8px !important; min-height: 40px; }
.v7-filter-pills { gap: 5px; }
.mph26-light-page .v7-filter-pills button {
  min-height: 34px;
  border-radius: 7px !important;
  font-size: 8px;
  font-weight: 700;
  box-shadow: none;
}
.mph26-light-page .v7-filter-pills button.active {
  background: var(--taste-navy) !important;
  border-color: var(--taste-navy) !important;
}
.v7-template-safety { border-radius: 7px !important; }

.v7-template-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 22px; }
.mph26-light-page .v7-template-card {
  border-radius: 11px !important;
  box-shadow: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mph26-light-page .v7-template-card:hover {
  transform: translateY(-4px);
  border-color: #b9c3d3 !important;
  box-shadow: var(--taste-shadow-sm) !important;
}
.v7-template-preview-photo { height: 430px !important; padding: 18px !important; background: #eff2f6 !important; }
.v7-template-photo {
  object-fit: contain !important;
  transform: scale(.94);
  filter: drop-shadow(0 10px 16px rgba(16,24,40,.12));
}
.v7-template-card:hover .v7-template-photo { transform: scale(.96) !important; }
.v7-template-category,
.v7-template-quality { border-radius: 6px !important; backdrop-filter: blur(8px); }
.v7-template-hover { inset: auto 12px 12px 12px !important; border-radius: 7px !important; background: rgba(16,28,50,.94) !important; }
.v7-template-info { padding: 16px 16px 17px !important; }
.v7-template-title h2 { font-size: 15px !important; color: var(--taste-navy) !important; }
.v7-template-title p { height: auto !important; min-height: 36px; font-size: 9px !important; color: #707b8d !important; }
.v7-template-tags { margin: 10px 0 12px !important; }
.mph26-light-page .v7-template-tags span { border-radius: 5px !important; font-size: 7px !important; }
.v7-template-actions { min-height: 48px !important; gap: 10px !important; }
.v7-template-actions .rb-btn { min-height: 38px !important; font-size: 9px !important; }
.v7-canva-link,.v7-canva-note { font-size: 7px !important; }
.mph26-light-page .v7-template-guide {
  margin-top: 24px;
  border-radius: 11px !important;
  background: var(--taste-navy) !important;
  border: 0 !important;
  box-shadow: none !important;
}
.mph26-light-page .v7-template-guide h2 { color: #fff !important; font-family: var(--taste-font) !important; font-weight: 700; }
.mph26-light-page .v7-template-guide p { color: #bcc6d5 !important; }

/* START FLOW --------------------------------------------------------- */
.mph26-start-main { min-height: calc(100vh - 70px); padding: 46px 0 86px; background: var(--taste-bg); }
.mph26-start-shell { max-width: 1120px; }
.mph26-back-link { margin-bottom: 34px; color: #667386; font-size: 11px; }
.mph26-start-header { max-width: 760px; margin-bottom: 30px; }
.mph26-start-header h1 { font-size: clamp(36px,4vw,48px); line-height: 1.02; }
.mph26-start-header p { color: #687487; font-size: 13px; }
.mph26-start-grid { grid-template-columns: 340px 1fr; gap: 26px; }
.mph26-selected-template,
.mph26-start-card {
  border-radius: 12px;
  border-color: var(--taste-line);
  box-shadow: 0 10px 28px rgba(16,24,40,.06);
}
.mph26-selected-template { position: sticky; top: 94px; }
.mph26-template-paper { height: 405px; padding: 18px; background: #eef1f5; }
.mph26-template-paper img { object-fit: contain; filter: drop-shadow(0 9px 16px rgba(16,24,40,.12)); }
.mph26-selected-copy { padding: 18px; }
.mph26-selected-copy > span { color: var(--taste-primary); font-size: 9px; }
.mph26-selected-copy h2 { color: var(--taste-navy); font-size: 19px; }
.mph26-selected-copy p { color: #707b8c; font-size: 11px; }
.mph26-selected-copy b { border-radius: 5px; background: #f4f6fa; color: #59667a; font-size: 8px; }
.mph26-start-card { padding: 30px; }
.mph26-onboarding-steps { padding-bottom: 25px; }
.mph26-onboarding-steps > div span { border-radius: 8px; }
.mph26-onboarding-steps > div.is-active span { background: var(--taste-primary); }
.mph26-start-form { padding-top: 26px; }
.mph26-start-form > label > span { font-size: 11px; }
.mph26-start-form input,
.mph26-start-form select {
  min-height: 50px;
  border-radius: 8px;
  border-color: #d4dbe6;
}
.mph26-start-form input:focus,
.mph26-start-form select:focus { border-color: var(--taste-primary); box-shadow: 0 0 0 3px rgba(47,91,211,.11); }
.mph26-start-form label small { color: #8792a3; font-size: 9px; }
.mph26-start-benefits { gap: 8px; }
.mph26-start-benefits > div { border-radius: 8px; background: #f8f9fb; border-color: #e5e8ee; }

/* DASHBOARD ---------------------------------------------------------- */
.v7-app-shell { grid-template-columns: 230px minmax(0,1fr) !important; }
.v7-sidebar {
  width: 230px !important;
  padding: 18px 14px 14px !important;
  background: var(--taste-navy) !important;
  border-right: 0 !important;
}
.v7-sidebar-brand { padding: 3px 4px 17px !important; border-bottom: 1px solid rgba(255,255,255,.08); }
.v7-brand-seal,
.v7-brand-seal img { width: 34px !important; height: 34px !important; border-radius: 9px !important; }
.v7-sidebar-brand strong { color: #fff !important; font-size: 12px !important; }
.v7-sidebar-brand small { color: #7f8ca2 !important; font-size: 7px !important; }
.v7-side-nav { padding-top: 14px !important; }
.v7-side-label { color: #64748e !important; font-size: 7px !important; letter-spacing: .13em !important; }
.v7-side-nav a {
  min-height: 38px !important;
  border-radius: 8px !important;
  color: #aeb9ca !important;
  font-size: 9px !important;
  border: 1px solid transparent !important;
}
.v7-side-nav a i { color: #75849a !important; }
.v7-side-nav a:hover { color: #fff !important; background: rgba(255,255,255,.055) !important; }
.v7-side-nav a.active {
  color: #fff !important;
  background: rgba(89,129,233,.15) !important;
  border-color: rgba(119,151,235,.17) !important;
  box-shadow: inset 2px 0 #7698ef !important;
}
.v7-side-nav a.active i { color: #94aff6 !important; }
.v7-workspace-card { border-radius: 9px !important; background: rgba(255,255,255,.04) !important; border-color: rgba(255,255,255,.08) !important; }
.v7-workspace-card a { color: #9fb6f3 !important; }
.v7-sidebar-user { border-color: rgba(255,255,255,.08) !important; }
.v7-sidebar-user .rb-user-avatar { background: #294d9f !important; box-shadow: none !important; }
.v7-signout-btn { border-radius: 7px !important; }

.mph26-light-page .v7-topbar {
  height: 70px !important;
  padding: 10px 24px !important;
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid var(--taste-line) !important;
  backdrop-filter: blur(16px);
}
.v7-topbar-copy span { font-size: 7px !important; }
.v7-topbar-copy strong { font-size: 12px !important; }
.mph26-light-page .v7-global-search { width: min(390px,40vw); box-shadow: none !important; }
.v7-topbar-actions { gap: 7px !important; }
.v7-icon-action { border-radius: 8px !important; }
.v7-user-chip { border-radius: 9px !important; box-shadow: none !important; }

.v7-page-content { max-width: 1480px !important; padding: 34px 28px 52px !important; }
.v7-welcome-row { margin-bottom: 24px !important; align-items: flex-end; }
.mph26-light-page .v7-welcome-row h1 {
  font-family: var(--taste-font) !important;
  font-size: clamp(32px,3vw,44px) !important;
  font-weight: 720;
  letter-spacing: -.045em;
}
.mph26-light-page .v7-welcome-row p { font-size: 11px !important; max-width: 680px; }
.v7-welcome-actions { gap: 8px !important; }

.v7-kpi-grid { gap: 12px !important; margin-bottom: 18px !important; }
.mph26-light-page .v7-kpi-grid article {
  min-height: 116px !important;
  padding: 16px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.v7-kpi-grid article::after { display: none; }
.v7-kpi-icon { border-radius: 8px !important; background: #f0f4ff !important; color: var(--taste-primary) !important; }
.v7-kpi-grid small { font-size: 8px !important; }
.v7-kpi-grid strong {
  color: var(--taste-navy) !important;
  font-family: var(--taste-font) !important;
  font-size: 27px !important;
  font-weight: 730 !important;
}
.v7-kpi-grid p { font-size: 7px !important; }
.v7-kpi-grid article > i { color: #98a2b3 !important; }

.v7-dashboard-grid { grid-template-columns: minmax(0,1fr) 276px !important; gap: 14px !important; }
.mph26-light-page .v7-panel { border-radius: 11px !important; box-shadow: none !important; }
.v7-panel-head { padding: 19px 20px 15px !important; }
.v7-panel-head h2 { font-family: var(--taste-font) !important; font-size: 23px !important; font-weight: 710 !important; }
.v7-panel-head p { font-size: 8px !important; }
.v7-panel-tools select { border-radius: 7px !important; }
.v7-resume-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; padding: 14px !important; }
.mph26-light-page .v7-resume-card { border-radius: 9px !important; box-shadow: none !important; }
.mph26-light-page .v7-resume-card:hover { border-color: #b9c3d3 !important; box-shadow: 0 8px 22px rgba(16,24,40,.07) !important; }
.v7-resume-thumb { background: #f0f2f6 !important; }
.v7-thumb-status { border-radius: 5px !important; }
.v7-open-overlay { border-radius: 6px !important; background: rgba(16,28,50,.92) !important; }
.v7-resume-card-copy { padding: 12px 12px 9px !important; }
.v7-resume-card-copy h3 { color: var(--taste-navy) !important; font-size: 10px !important; }
.v7-resume-actions { padding: 9px 12px !important; }
.v7-resume-actions a { color: var(--taste-primary) !important; font-size: 8px !important; }
.v7-capacity-ring { background: conic-gradient(var(--taste-primary) calc(var(--value) * 1%), #e9edf3 0) !important; }
.v7-capacity-ring strong { font-family: var(--taste-font) !important; font-weight: 720 !important; }
.v7-quick-actions button > span,
.v7-quick-actions > a > span { border-radius: 7px !important; background: #f0f4ff !important; color: var(--taste-primary) !important; }
.mph26-light-page .v7-security-note { background: #fffaf1 !important; border-color: #eadfca !important; }

/* EDITOR ------------------------------------------------------------- */
.mph26-editor-page { background: #edf0f5; }
.mph26-editor-page .rb-editor-toolbar-v4 {
  height: 64px !important;
  padding: 8px 14px !important;
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid var(--taste-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}
.rb-editor-title-wrap { gap: 8px !important; }
.rb-editor-title-wrap .rb-icon-btn { border-radius: 8px !important; }
.rb-editor-brand-mark,
.rb-editor-brand-mark img { width: 32px !important; height: 32px !important; border-radius: 8px !important; box-shadow: none !important; }
.mph26-editor-page .rb-editor-title-field input { color: var(--taste-navy) !important; font-size: 12px !important; font-weight: 700; }
.mph26-editor-page .rb-save-status { color: #788497 !important; font-size: 8px !important; }
.mph26-editor-page .rb-save-status i { background: var(--taste-success) !important; }
.rb-editor-actions-v4 { gap: 6px !important; }
.rb-completion-badge { border-radius: 8px !important; }

.mph26-editor-steps {
  height: 50px;
  grid-template-columns: auto 42px auto 42px auto;
  background: #fff;
  border-color: var(--taste-line);
}
.mph26-editor-steps > div > span { width: 24px; height: 24px; border-radius: 7px; }
.mph26-editor-steps > div.is-active > span { background: var(--taste-primary); }
.mph26-editor-steps strong { color: #556174; font-size: 8px; }
.mph26-editor-steps small { font-size: 7px; }
.mph26-editor-steps > i { width: 42px; }

.rb-editor-layout-v4 { height: calc(100vh - 114px) !important; grid-template-columns: 218px minmax(390px,500px) minmax(430px,1fr) !important; }
.mph26-editor-page .rb-editor-sections-v4 {
  padding: 14px 10px !important;
  background: var(--taste-navy) !important;
  border-color: rgba(255,255,255,.06) !important;
}
.rb-editor-side-head { padding: 0 5px 12px !important; }
.rb-editor-nav-label { margin: 16px 7px 6px !important; color: #61718a !important; font-size: 7px !important; letter-spacing: .12em !important; }
.mph26-editor-page .rb-editor-sections-v4 > button {
  min-height: 37px !important;
  border-radius: 7px !important;
  color: #acb8ca !important;
  font-size: 8px !important;
  border: 1px solid transparent !important;
}
.mph26-editor-page .rb-editor-sections-v4 > button span { border-radius: 6px !important; background: rgba(255,255,255,.055) !important; color: #73839a !important; }
.mph26-editor-page .rb-editor-sections-v4 > button:hover { color: #fff !important; background: rgba(255,255,255,.05) !important; }
.mph26-editor-page .rb-editor-sections-v4 > button.active {
  color: #fff !important;
  background: rgba(74,111,207,.18) !important;
  border-color: rgba(120,151,232,.16) !important;
  box-shadow: inset 2px 0 #7899ef !important;
}
.mph26-editor-page .rb-editor-sections-v4 > button.active span { color: #fff !important; background: #315bc8 !important; }
.mph26-editor-page .rb-section-help { border-radius: 8px !important; background: rgba(255,255,255,.045) !important; }

.mph26-editor-page .rb-editor-form-v4 { padding: 27px 28px 70px !important; background: #fff !important; border-color: var(--taste-line) !important; }
.rb-form-heading-v4 { margin-bottom: 15px !important; }
.mph26-editor-page .rb-form-heading-v4 h1 { color: var(--taste-navy) !important; font-family: var(--taste-font) !important; font-size: 25px !important; font-weight: 720; letter-spacing: -.035em; }
.mph26-editor-page .rb-form-heading-v4 p { color: #727e90 !important; font-size: 9px !important; }
.mph26-editor-page .rb-form-progress-hint {
  margin-bottom: 17px !important;
  padding: 11px 12px !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  border-color: #e5e9ef !important;
}
.mph26-editor-page .rb-form-progress-hint > span { border-radius: 7px !important; background: #eef3ff !important; color: var(--taste-primary) !important; }

.mph26-editor-page .rb-form-label input,
.mph26-editor-page .rb-form-label textarea,
.mph26-editor-page .rb-form-label select,
.mph26-editor-page .rb-input,
.mph26-editor-page .rb-editor-form input,
.mph26-editor-page .rb-editor-form textarea,
.mph26-editor-page .rb-editor-form select {
  border-radius: 8px !important;
  border-color: #d6dde7 !important;
  background: #fff !important;
  color: var(--taste-ink) !important;
}
.mph26-editor-page .rb-form-label input:focus,
.mph26-editor-page .rb-form-label textarea:focus,
.mph26-editor-page .rb-form-label select:focus,
.mph26-editor-page .rb-editor-form input:focus,
.mph26-editor-page .rb-editor-form textarea:focus,
.mph26-editor-page .rb-editor-form select:focus {
  border-color: var(--taste-primary) !important;
  box-shadow: 0 0 0 3px rgba(47,91,211,.10) !important;
}
.mph26-editor-page .rb-editor-item,
.mph26-editor-page .rb-design-block,
.mph26-editor-page .rb-repeat-card,
.mph26-editor-page .rb-editor-card,
.mph26-editor-page .rb-design-option,
.mph26-editor-page .rb-radio-card {
  border-radius: 9px !important;
  background: #fbfcfe !important;
  border-color: #e3e7ed !important;
  box-shadow: none !important;
}
.mph26-editor-page .rb-add-item { border-radius: 8px !important; color: var(--taste-primary) !important; background: #f6f8fe !important; border-color: #cdd8f3 !important; }
.rb-smart-box { border-radius: 9px !important; border-color: #dbe3f3 !important; background: #f7f9fe !important; }
.rb-smart-box-head span { border-radius: 7px !important; background: #eaf0ff !important; color: var(--taste-primary) !important; }
.rb-smart-suggestion { border-radius: 7px !important; }
.rb-smart-achievement { border-radius: 7px !important; }

.mph26-editor-page .rb-live-preview-panel-v4 { background: #e8ecf2 !important; border-color: #d9dfe8 !important; }
.mph26-editor-page .rb-preview-toolbar-v4 { height: 48px !important; background: #f8fafc !important; border-color: #dfe4eb !important; }
.mph26-editor-page .rb-preview-stage { background: #e3e7ed !important; }
.rb-resume-live { box-shadow: 0 16px 42px rgba(16,24,40,.16) !important; }
.rb-preview-zoom,
.rb-preview-device { border-radius: 7px !important; }

/* AUTH --------------------------------------------------------------- */
.rb-auth-main-v4 { background: var(--taste-bg) !important; }
.rb-auth-shell { grid-template-columns: minmax(390px,.9fr) minmax(500px,1.1fr) !important; }
.rb-auth-showcase {
  background: var(--taste-navy) !important;
  padding: 50px clamp(38px,5vw,78px) !important;
}
.rb-auth-showcase:after { display: none; }
.rb-auth-showcase .rb-eyebrow { color: #91afff !important; }
.rb-auth-showcase h1 {
  max-width: 650px !important;
  font-family: var(--taste-font) !important;
  font-size: clamp(38px,4.3vw,58px) !important;
  font-weight: 710 !important;
  letter-spacing: -.05em !important;
}
.rb-auth-showcase > div > p { color: #b7c1d0 !important; }
.rb-auth-preview-card {
  max-width: 470px !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(255,255,255,.10) !important;
  backdrop-filter: none !important;
}
.rb-mini-avatar { border-radius: 8px !important; color: var(--taste-navy) !important; }
.rb-auth-benefits > div > span { border-radius: 7px !important; color: #9ab6ff !important; background: rgba(111,145,232,.10) !important; }
.rb-auth-card-v4 {
  max-width: 570px !important;
  border: 1px solid var(--taste-line) !important;
  border-radius: 13px !important;
  padding: 38px 40px !important;
  box-shadow: 0 16px 42px rgba(16,24,40,.08) !important;
  background: #fff !important;
  color: var(--taste-ink) !important;
}
.rb-auth-card-v4 .rb-auth-heading h1 {
  color: var(--taste-navy) !important;
  font-family: var(--taste-font) !important;
  font-size: 32px !important;
  font-weight: 720 !important;
}
.rb-auth-card-v4 .rb-auth-heading p { color: #6f7a8c !important; }
.rb-oauth-btn { border-radius: 8px !important; background: #fff !important; border-color: #d8dee8 !important; box-shadow: none !important; }
.rb-input-wrap { border-radius: 8px !important; border-color: #d7dee8 !important; box-shadow: none !important; }
.rb-input-wrap:focus-within { border-color: var(--taste-primary) !important; box-shadow: 0 0 0 3px rgba(47,91,211,.10) !important; }
.rb-password-toggle,
.rb-auth-foot a { color: var(--taste-primary) !important; }

/* Dialogs and transient UI */
.mph26-light-page .rb-dialog,
.mph26-light-page .rb-dialog form,
.v7-create-dialog form {
  border-radius: 13px !important;
  border-color: var(--taste-line) !important;
  box-shadow: 0 24px 70px rgba(16,24,40,.18) !important;
}
.rb-template-radio { border-radius: 8px !important; }
.rb-more-menu > div,
.rb-account-dropdown { border-radius: 10px !important; box-shadow: 0 14px 34px rgba(16,24,40,.13) !important; }
.rb-flash { border-radius: 9px !important; }

/* Responsive */
@media (max-width: 1180px) {
  .mph26-home-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mph26-hero-grid { gap: 42px; }
  .rb-editor-layout-v4 { grid-template-columns: 190px minmax(360px,450px) minmax(390px,1fr) !important; }
  .v7-dashboard-grid { grid-template-columns: 1fr 252px !important; }
}

@media (max-width: 980px) {
  .rb-container, .rb-header-inner { width: min(100% - 32px, 1220px); }
  .mph26-hero { padding-top: 62px; }
  .mph26-hero-grid { grid-template-columns: 1fr; }
  .mph26-hero-copy { max-width: 760px; }
  .mph26-hero-showcase { min-height: 500px; }
  .mph26-feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .mph26-feature-copy { position: static; }
  .v7-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v7-dashboard-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 760px) {
  .rb-container, .rb-header-inner { width: min(100% - 24px, 1220px); }
  .mph26-hero { padding: 48px 0 62px; }
  .mph26-hero-copy h1 { font-size: clamp(40px,12vw,56px); }
  .mph26-hero-showcase { min-height: 430px; }
  .mph26-resume-stack { transform: scale(.75); }
  .mph26-home-template-grid { grid-template-columns: 1fr; }
  .mph26-home-template-preview { height: 460px; }
  .mph26-section { padding: 68px 0; }
  .mph26-final-cta > div { padding: 30px 26px; }
  .mph26-start-grid { grid-template-columns: 1fr; }
  .mph26-selected-template { position: static; }
  .v7-template-grid { grid-template-columns: 1fr; }
  .v7-template-preview-photo { height: 470px !important; }
  .v7-template-controls { top: 76px !important; }
  .rb-auth-shell { grid-template-columns: 1fr !important; }
  .rb-auth-showcase { display: none !important; }
  .rb-auth-card-v4 { margin: 30px 14px !important; padding: 30px 24px !important; }
  .rb-editor-layout-v4 { height: auto !important; display: block !important; }
  .mph26-editor-page .rb-editor-form-v4 { min-height: calc(100vh - 112px); padding: 24px 18px 72px !important; }
}

@media (max-width: 520px) {
  .mph26-home-template-preview { height: 390px; }
  .mph26-hero-actions { display: grid; }
  .mph26-hero-actions .rb-btn { width: 100%; }
  .mph26-start-card { padding: 22px; }
  .v7-page-content { padding: 24px 14px 42px !important; }
  .v7-kpi-grid { grid-template-columns: 1fr 1fr !important; }
  .v7-template-preview-photo { height: 420px !important; }
  .rb-auth-password-grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
