:root {
    --tdr-navy: #1f2937;
    --tdr-blue: #2563eb;
    --tdr-green: #10b981;
    --tdr-bg: #f9fafb;
    --tdr-border: #e5e7eb;
    --tdr-text: #111827;
    --tdr-muted: #6b7280;
    --tdr-white: #ffffff;
}

.tdr-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 20px;
    color: var(--tdr-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tdr-narrow { max-width: 720px; }
.tdr-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
    border: 1px solid var(--tdr-border);
    border-radius: 28px;
    padding: clamp(36px, 6vw, 72px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.tdr-eyebrow {
    color: var(--tdr-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    margin: 0 0 12px;
}

.tdr-hero h1, .tdr-wrap h1 {
    color: var(--tdr-navy);
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.02;
    margin: 0 0 18px;
    letter-spacing: -0.04em;
}

.tdr-card h1, .tdr-card h2, .tdr-template-card h2 {
    color: var(--tdr-navy);
    margin-top: 0;
}

.tdr-lead, .tdr-lead-small {
    color: var(--tdr-muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    max-width: 720px;
}

.tdr-lead-small { font-size: 18px; }
.tdr-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.tdr-button,
.tdr-wrap input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--tdr-blue);
    color: #fff !important;
    text-decoration: none;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .22);
}

.tdr-button[disabled] { opacity: .55; cursor: not-allowed; }
.tdr-button-secondary { background: var(--tdr-navy); box-shadow: 0 8px 20px rgba(31,41,55,.18); }

.tdr-grid { display: grid; gap: 20px; margin-top: 28px; }
.tdr-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tdr-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tdr-template-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.tdr-card, .tdr-template-card {
    background: var(--tdr-white);
    border: 1px solid var(--tdr-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.tdr-card p, .tdr-template-card p { color: var(--tdr-muted); line-height: 1.6; }

.tdr-section-list { display: grid; gap: 10px; margin-top: 24px; }
.tdr-section-row {
    border: 1px solid var(--tdr-border);
    border-radius: 14px;
    padding: 14px 16px;
    background: var(--tdr-bg);
    font-weight: 650;
}

.tdr-template-thumb {
    position: relative;
    min-height: 220px;
    border-radius: 16px;
    background: repeating-linear-gradient(#fff, #fff 18px, #f3f4f6 19px, #f3f4f6 20px);
    border: 1px solid var(--tdr-border);
    overflow: hidden;
    margin-bottom: 18px;
}

.tdr-template-thumb::before {
    content: '';
    display: block;
    height: 34px;
    background: var(--tdr-navy);
    margin: 18px;
    border-radius: 8px;
}

.tdr-template-thumb span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: rotate(-28deg);
    color: rgba(37, 99, 235, .22);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    pointer-events: none;
}

.tdr-wrap input[type="text"],
.tdr-wrap input[type="email"],
.tdr-wrap input[type="password"],
.tdr-wrap textarea {
    width: 100%;
    border: 1px solid var(--tdr-border);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    color: var(--tdr-text);
    font: inherit;
}

.tdr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0 34px;
}

.tdr-field { display: grid; gap: 8px; font-weight: 650; color: var(--tdr-navy); }
.tdr-field-full { grid-column: 1 / -1; }
.tdr-field span { font-size: 14px; }

.tdr-editor h2 {
    margin-top: 34px;
    border-top: 1px solid var(--tdr-border);
    padding-top: 28px;
}

.tdr-repeater-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 14px 0;
    padding: 18px;
    background: var(--tdr-bg);
    border: 1px solid var(--tdr-border);
    border-radius: 18px;
}

.tdr-repeater-row .tdr-field:last-child { grid-column: 1 / -1; }

.tdr-progress {
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 18px 0 8px;
}

.tdr-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--tdr-blue), var(--tdr-green));
    border-radius: 999px;
}

.tdr-notice {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-weight: 700;
}

.tdr-notice-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tdr-notice-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.tdr-notice-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.tdr-sticky-actions { position: sticky; bottom: 12px; background: rgba(255,255,255,.9); padding: 14px; border-radius: 20px; border: 1px solid var(--tdr-border); backdrop-filter: blur(8px); }
.tdr-checklist { display: grid; gap: 8px; padding-left: 22px; color: var(--tdr-muted); line-height: 1.6; }
.tdr-paypal-placeholder, .tdr-paypal-box { border: 1px dashed var(--tdr-border); border-radius: 16px; padding: 16px; background: var(--tdr-bg); }
.tdr-paypal-box { margin-top: 12px; text-align: center; font-weight: 800; color: var(--tdr-blue); }
.tdr-small { font-size: 14px; color: var(--tdr-muted); }

@media (max-width: 900px) {
    .tdr-three, .tdr-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .tdr-three, .tdr-four { grid-template-columns: 1fr; }
    .tdr-wrap { padding: 28px 16px; }
}


/* Phase 4A template selection polish */
.tdr-template-selected {
    border-color: var(--tdr-blue);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .16);
    position: relative;
}

.tdr-template-selected::after {
    content: 'Selected';
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--tdr-green);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.tdr-template-thumb-modern-corporate::before { background: #0891b2; }
.tdr-template-thumb-minimal-clean::before { background: #4b5563; }
.tdr-template-thumb-creative-professional::before { background: linear-gradient(135deg, #2e1065, #7c3aed); }
.tdr-template-card form { margin-top: 16px; }


/* Phase 5.1 customer-owned account creation */
.tdr-auth-grid {
    align-items: start;
}

.tdr-grid.tdr-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tdr-form input[type="email"],
.tdr-form input[type="password"] {
    width: 100%;
    border: 1px solid #d7dde7;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    margin: 0.25rem 0 0.9rem;
}

.tdr-form button[type="submit"] {
    margin-top: 0.25rem;
}

@media (max-width: 780px) {
    .tdr-grid.tdr-two {
        grid-template-columns: 1fr;
    }
}


/* Phase 5.2 workflow ownership and live template previews */
.tdr-form label { display: block; font-weight: 700; color: var(--tdr-navy); margin: 0.45rem 0 0.2rem; }
.tdr-inline-check { display: flex !important; align-items: center; gap: 0.5rem; color: var(--tdr-muted) !important; font-weight: 600 !important; }
.tdr-inline-check input { width: auto !important; }
.tdr-inline-form { margin: 16px 0; }
.tdr-resume-preview { border: 1px solid var(--tdr-border); border-radius: 16px; background: #fff; overflow: hidden; min-height: 300px; margin-bottom: 18px; font-size: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.tdr-preview-head { padding: 18px; display: grid; gap: 4px; }
.tdr-preview-head strong { font-size: 20px; line-height: 1.05; }
.tdr-preview-head span { opacity: .82; }
.tdr-preview-body { display: grid; grid-template-columns: 1fr 92px; gap: 12px; padding: 16px; }
.tdr-preview-body h3 { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 6px; }
.tdr-preview-body p { font-size: 11px; line-height: 1.35; margin: 0 0 11px; color: inherit; }
.tdr-preview-side { border-radius: 12px; padding: 10px; }
.tdr-preview-side span { display: block; border-radius: 999px; padding: 4px 6px; margin: 4px 0; font-size: 10px; }
.tdr-preview-classic-professional .tdr-preview-head { background: #1f2937; color: #fff; }
.tdr-preview-classic-professional .tdr-preview-body h3 { color: #2563eb; border-bottom: 1px solid #e5e7eb; padding-bottom: 4px; }
.tdr-preview-classic-professional .tdr-preview-side { background: #f8fafc; border-left: 3px solid #2563eb; }
.tdr-preview-modern-corporate .tdr-preview-head { background: #0f172a; color: #fff; border-bottom: 6px solid #0891b2; }
.tdr-preview-modern-corporate .tdr-preview-body { grid-template-columns: 92px 1fr; }
.tdr-preview-modern-corporate .tdr-preview-main { order: 2; }
.tdr-preview-modern-corporate .tdr-preview-side { order: 1; background: #ecfeff; border-top: 3px solid #0891b2; }
.tdr-preview-modern-corporate .tdr-preview-body h3 { color: #0891b2; }
.tdr-preview-minimal-clean { box-shadow: none; }
.tdr-preview-minimal-clean .tdr-preview-head { background: #fff; color: #111827; border-bottom: 3px solid #e5e7eb; }
.tdr-preview-minimal-clean .tdr-preview-body { grid-template-columns: 1fr; }
.tdr-preview-minimal-clean .tdr-preview-side { background: #fff; border: 1px solid #e5e7eb; }
.tdr-preview-minimal-clean .tdr-preview-side span { border: 1px solid #e5e7eb; }
.tdr-preview-creative-professional { border-radius: 24px; }
.tdr-preview-creative-professional .tdr-preview-head { background: linear-gradient(135deg,#2e1065,#7c3aed); color: #fff; }
.tdr-preview-creative-professional .tdr-preview-body h3 { color: #7c3aed; }
.tdr-preview-creative-professional .tdr-preview-side { background: #f5f3ff; border-left: 3px solid #7c3aed; }
.tdr-preview-creative-professional .tdr-preview-side span { background: #ede9fe; color: #4c1d95; }
@media (max-width: 900px) { .tdr-preview-body { grid-template-columns: 1fr; } }


/* Phase 5.3 clickable A4 previews and clearer sandbox payment UX */
.tdr-notice-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tdr-template-preview-link { display: block; color: inherit; text-decoration: none; }
.tdr-template-preview-link:hover .tdr-resume-preview { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.12); }
.tdr-resume-preview { transition: transform .16s ease, box-shadow .16s ease; }
.tdr-preview-link-text { display: inline-flex; margin: -4px 0 14px; color: var(--tdr-blue); font-size: 13px; font-weight: 800; }
.tdr-a4-preview-card { margin: 28px 0 34px; }
.tdr-preview-toolbar { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tdr-preview-toolbar h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.tdr-preview-toolbar .tdr-actions { margin-top: 0; justify-content: flex-end; }
.tdr-a4-frame { width: 100%; min-height: 980px; border: 1px solid var(--tdr-border); border-radius: 18px; background: #f1f5f9; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
@media (max-width: 780px) {
  .tdr-preview-toolbar { display: block; }
  .tdr-preview-toolbar .tdr-actions { justify-content: flex-start; }
  .tdr-a4-frame { min-height: 760px; }
}


/* Phase 5.5 branding, customer polish, and theme cleanup */
footer.wp-block-template-part { display: none !important; }
.tdr-brand-strip { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:0 0 26px; padding:14px 16px; border:1px solid rgba(226,232,240,.9); border-radius:22px; background:rgba(255,255,255,.86); box-shadow:0 12px 32px rgba(15,23,42,.06); backdrop-filter:blur(10px); }
.tdr-brand-strip-compact { margin-bottom:18px; padding:10px 12px; }
.tdr-brand-logo { display:inline-flex; align-items:center; text-decoration:none; }
.tdr-brand-logo img { display:block; width:210px; max-width:48vw; height:auto; border-radius:14px; box-shadow:0 10px 22px rgba(15,23,42,.12); }
.tdr-brand-strip-compact .tdr-brand-logo img { width:158px; }
.tdr-brand-nav { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.tdr-brand-nav a { color:var(--tdr-navy); text-decoration:none; font-weight:800; font-size:14px; padding:8px 11px; border-radius:999px; background:#f8fafc; border:1px solid #e5e7eb; }
.tdr-brand-nav a:hover { color:#fff; background:var(--tdr-blue); border-color:var(--tdr-blue); }
.tdr-hero-split { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr); gap:32px; align-items:center; overflow:hidden; position:relative; }
.tdr-hero-split:before { content:''; position:absolute; right:-90px; top:-90px; width:240px; height:240px; border-radius:999px; background:radial-gradient(circle,rgba(16,185,129,.22),rgba(37,99,235,.04)); }
.tdr-home-sample { display:grid; place-items:center; }
.tdr-sample-page { width:min(320px,100%); min-height:420px; border-radius:20px; background:#fff; box-shadow:0 24px 70px rgba(15,23,42,.18); padding:32px; border:1px solid #e2e8f0; transform:rotate(2deg); }
.tdr-sample-page strong { display:block; font-size:30px; color:#0f172a; line-height:1; }
.tdr-sample-page span { display:block; color:#2563eb; font-weight:800; margin:8px 0 24px; }
.tdr-sample-page i { display:block; height:12px; background:#e5e7eb; border-radius:999px; margin:12px 0; }
.tdr-sample-page i.short { width:68%; }
.tdr-sample-page b { display:block; margin:28px 0 12px; color:#0f172a; text-transform:uppercase; font-size:13px; letter-spacing:.12em; }
.tdr-sample-page em { display:inline-block; width:72px; height:24px; border-radius:999px; background:#eff6ff; border:1px solid #bfdbfe; margin:4px; }
.tdr-feature-grid .tdr-card { position:relative; overflow:hidden; }
.tdr-feature-grid .tdr-card:after { content:''; position:absolute; inset:auto -40px -50px auto; width:120px; height:120px; border-radius:999px; background:rgba(37,99,235,.08); }
.tdr-editor .tdr-small { margin-top:-6px; max-width:760px; }
@media (max-width:840px) { .tdr-brand-strip, .tdr-hero-split { grid-template-columns:1fr; display:grid; } .tdr-brand-nav { justify-content:flex-start; } .tdr-hero-split { gap:22px; } }


/* Phase 5.6 homepage sales message, simplified nav, and Bluehost theme header cleanup */
body header.wp-block-template-part,
body .wp-site-blocks > header,
.wp-block-navigation__responsive-container,
.wp-block-social-links,
.wp-block-site-title,
.wp-block-post-title {
    display: none !important;
}
.tdr-brand-nav { gap: 8px; flex-wrap: nowrap; }
.tdr-brand-nav a { white-space: nowrap; }
.tdr-landing .tdr-hero h1 { max-width: 760px; }
#pricing { scroll-margin-top: 24px; }
@media (max-width: 920px) {
    .tdr-brand-strip { align-items: flex-start; }
    .tdr-brand-nav { flex-wrap: wrap; justify-content: flex-start; }
    .tdr-brand-nav a { font-size: 13px; padding: 7px 9px; }
}
@media (max-width: 560px) {
    .tdr-brand-logo img { width: 170px; }
    .tdr-brand-nav { gap: 6px; }
    .tdr-brand-nav a { font-size: 12px; padding: 6px 8px; }
}


/* Phase 5.8 expanded 30-template catalogue */
.tdr-template-card h2 { font-size: 1.05rem; }
.tdr-template-card p { min-height: 3.1em; }
.tdr-preview-classic-professional .tdr-preview-head { background: #1f2937; color:#fff; }
.tdr-preview-classic-professional .tdr-preview-body h3 { color: #2563eb; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-classic-professional .tdr-preview-side { background:#f8fafc; border-left:3px solid #2563eb; }
.tdr-preview-classic-professional .tdr-preview-side span { background:#fff; color:#1f2937; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-modern-corporate .tdr-preview-head { background: #0f172a; color:#fff; }
.tdr-preview-modern-corporate .tdr-preview-body h3 { color: #0891b2; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-modern-corporate .tdr-preview-side { background:#ecfeff; border-left:3px solid #0891b2; }
.tdr-preview-modern-corporate .tdr-preview-side span { background:#fff; color:#0f172a; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-modern-corporate .tdr-preview-body { grid-template-columns:92px 1fr; } .tdr-preview-modern-corporate .tdr-preview-main { order:2; } .tdr-preview-modern-corporate .tdr-preview-side { order:1; border-left:0; border-top:3px solid #0891b2; }
.tdr-preview-minimal-clean .tdr-preview-head { background: #111827; color:#fff; }
.tdr-preview-minimal-clean .tdr-preview-body h3 { color: #4b5563; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-minimal-clean .tdr-preview-side { background:#ffffff; border-left:3px solid #4b5563; }
.tdr-preview-minimal-clean .tdr-preview-side span { background:#fff; color:#111827; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-minimal-clean { box-shadow:none; } .tdr-preview-minimal-clean .tdr-preview-head { background:#fff; color:#111827; border-bottom:3px solid #e5e7eb; } .tdr-preview-minimal-clean .tdr-preview-body { grid-template-columns:1fr; }
.tdr-preview-creative-professional .tdr-preview-head { background: #2e1065; color:#fff; }
.tdr-preview-creative-professional .tdr-preview-body h3 { color: #7c3aed; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-creative-professional .tdr-preview-side { background:#f5f3ff; border-left:3px solid #7c3aed; }
.tdr-preview-creative-professional .tdr-preview-side span { background:#fff; color:#2e1065; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-creative-professional { border-radius:24px; } .tdr-preview-creative-professional .tdr-preview-head { background:linear-gradient(135deg,#2e1065,#7c3aed); color:#fff; }
.tdr-preview-executive-blueprint .tdr-preview-head { background: #172554; color:#fff; }
.tdr-preview-executive-blueprint .tdr-preview-body h3 { color: #2563eb; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-executive-blueprint .tdr-preview-side { background:#eff6ff; border-left:3px solid #2563eb; }
.tdr-preview-executive-blueprint .tdr-preview-side span { background:#fff; color:#172554; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-executive-blueprint .tdr-preview-head { background:#fff; color:#172554; border-top:10px solid #172554; border-bottom:3px solid #2563eb; } .tdr-preview-executive-blueprint .tdr-preview-side { border-left:0; border-top:4px solid #2563eb; }
.tdr-preview-graduate-starter .tdr-preview-head { background: #064e3b; color:#fff; }
.tdr-preview-graduate-starter .tdr-preview-body h3 { color: #10b981; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-graduate-starter .tdr-preview-side { background:#ecfdf5; border-left:3px solid #10b981; }
.tdr-preview-graduate-starter .tdr-preview-side span { background:#fff; color:#064e3b; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-graduate-starter { box-shadow:none; } .tdr-preview-graduate-starter .tdr-preview-head { background:#fff; color:#064e3b; border-bottom:3px solid #e5e7eb; } .tdr-preview-graduate-starter .tdr-preview-body { grid-template-columns:1fr; }
.tdr-preview-trades-practical .tdr-preview-head { background: #292524; color:#fff; }
.tdr-preview-trades-practical .tdr-preview-body h3 { color: #f97316; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-trades-practical .tdr-preview-side { background:#fff7ed; border-left:3px solid #f97316; }
.tdr-preview-trades-practical .tdr-preview-side span { background:#fff; color:#292524; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-trades-practical .tdr-preview-head { border-bottom:7px solid #f97316; } .tdr-preview-trades-practical .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-healthcare-calm .tdr-preview-head { background: #164e63; color:#fff; }
.tdr-preview-healthcare-calm .tdr-preview-body h3 { color: #06b6d4; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-healthcare-calm .tdr-preview-side { background:#ecfeff; border-left:3px solid #06b6d4; }
.tdr-preview-healthcare-calm .tdr-preview-side span { background:#fff; color:#164e63; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-education-warm .tdr-preview-head { background: #422006; color:#fff; }
.tdr-preview-education-warm .tdr-preview-body h3 { color: #d97706; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-education-warm .tdr-preview-side { background:#fffbeb; border-left:3px solid #d97706; }
.tdr-preview-education-warm .tdr-preview-side span { background:#fff; color:#422006; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-hospitality-shift .tdr-preview-head { background: #7f1d1d; color:#fff; }
.tdr-preview-hospitality-shift .tdr-preview-body h3 { color: #ef4444; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-hospitality-shift .tdr-preview-side { background:#fef2f2; border-left:3px solid #ef4444; }
.tdr-preview-hospitality-shift .tdr-preview-side span { background:#fff; color:#7f1d1d; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-hospitality-shift .tdr-preview-head { border-bottom:7px solid #ef4444; } .tdr-preview-hospitality-shift .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-tech-slate .tdr-preview-head { background: #020617; color:#fff; }
.tdr-preview-tech-slate .tdr-preview-body h3 { color: #38bdf8; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-tech-slate .tdr-preview-side { background:#f0f9ff; border-left:3px solid #38bdf8; }
.tdr-preview-tech-slate .tdr-preview-side span { background:#fff; color:#020617; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-tech-slate .tdr-preview-body { grid-template-columns:92px 1fr; } .tdr-preview-tech-slate .tdr-preview-main { order:2; } .tdr-preview-tech-slate .tdr-preview-side { order:1; border-left:0; border-top:3px solid #38bdf8; }
.tdr-preview-admin-organised .tdr-preview-head { background: #312e81; color:#fff; }
.tdr-preview-admin-organised .tdr-preview-body h3 { color: #6366f1; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-admin-organised .tdr-preview-side { background:#eef2ff; border-left:3px solid #6366f1; }
.tdr-preview-admin-organised .tdr-preview-side span { background:#fff; color:#312e81; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-finance-precise .tdr-preview-head { background: #14532d; color:#fff; }
.tdr-preview-finance-precise .tdr-preview-body h3 { color: #16a34a; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-finance-precise .tdr-preview-side { background:#f0fdf4; border-left:3px solid #16a34a; }
.tdr-preview-finance-precise .tdr-preview-side span { background:#fff; color:#14532d; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-finance-precise { box-shadow:none; } .tdr-preview-finance-precise .tdr-preview-head { background:#fff; color:#14532d; border-bottom:3px solid #e5e7eb; } .tdr-preview-finance-precise .tdr-preview-body { grid-template-columns:1fr; }
.tdr-preview-sales-impact .tdr-preview-head { background: #581c87; color:#fff; }
.tdr-preview-sales-impact .tdr-preview-body h3 { color: #a855f7; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-sales-impact .tdr-preview-side { background:#faf5ff; border-left:3px solid #a855f7; }
.tdr-preview-sales-impact .tdr-preview-side span { background:#fff; color:#581c87; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-sales-impact .tdr-preview-head { border-bottom:7px solid #a855f7; } .tdr-preview-sales-impact .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-project-manager .tdr-preview-head { background: #1e3a8a; color:#fff; }
.tdr-preview-project-manager .tdr-preview-body h3 { color: #f59e0b; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-project-manager .tdr-preview-side { background:#fffbeb; border-left:3px solid #f59e0b; }
.tdr-preview-project-manager .tdr-preview-side span { background:#fff; color:#1e3a8a; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-project-manager .tdr-preview-head { background:#fff; color:#1e3a8a; border-top:10px solid #1e3a8a; border-bottom:3px solid #f59e0b; } .tdr-preview-project-manager .tdr-preview-side { border-left:0; border-top:4px solid #f59e0b; }
.tdr-preview-mining-resources .tdr-preview-head { background: #1c1917; color:#fff; }
.tdr-preview-mining-resources .tdr-preview-body h3 { color: #eab308; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-mining-resources .tdr-preview-side { background:#fefce8; border-left:3px solid #eab308; }
.tdr-preview-mining-resources .tdr-preview-side span { background:#fff; color:#1c1917; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-mining-resources .tdr-preview-head { border-bottom:7px solid #eab308; } .tdr-preview-mining-resources .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-government-formal .tdr-preview-head { background: #1f2937; color:#fff; }
.tdr-preview-government-formal .tdr-preview-body h3 { color: #64748b; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-government-formal .tdr-preview-side { background:#f8fafc; border-left:3px solid #64748b; }
.tdr-preview-government-formal .tdr-preview-side span { background:#fff; color:#1f2937; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-government-formal .tdr-preview-head { background:#fff; color:#1f2937; border-bottom:2px solid #1f2937; } .tdr-preview-government-formal .tdr-preview-body h3 { color:#1f2937; }
.tdr-preview-community-services .tdr-preview-head { background: #14532d; color:#fff; }
.tdr-preview-community-services .tdr-preview-body h3 { color: #14b8a6; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-community-services .tdr-preview-side { background:#f0fdfa; border-left:3px solid #14b8a6; }
.tdr-preview-community-services .tdr-preview-side span { background:#fff; color:#14532d; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-creative-portfolio .tdr-preview-head { background: #4c0519; color:#fff; }
.tdr-preview-creative-portfolio .tdr-preview-body h3 { color: #ec4899; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-creative-portfolio .tdr-preview-side { background:#fdf2f8; border-left:3px solid #ec4899; }
.tdr-preview-creative-portfolio .tdr-preview-side span { background:#fff; color:#4c0519; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-creative-portfolio { border-radius:24px; } .tdr-preview-creative-portfolio .tdr-preview-head { background:linear-gradient(135deg,#4c0519,#ec4899); color:#fff; }
.tdr-preview-engineering-precision .tdr-preview-head { background: #0f172a; color:#fff; }
.tdr-preview-engineering-precision .tdr-preview-body h3 { color: #f97316; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-engineering-precision .tdr-preview-side { background:#fff7ed; border-left:3px solid #f97316; }
.tdr-preview-engineering-precision .tdr-preview-side span { background:#fff; color:#0f172a; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-engineering-precision .tdr-preview-body { grid-template-columns:92px 1fr; } .tdr-preview-engineering-precision .tdr-preview-main { order:2; } .tdr-preview-engineering-precision .tdr-preview-side { order:1; border-left:0; border-top:3px solid #f97316; }
.tdr-preview-legal-formal .tdr-preview-head { background: #111827; color:#fff; }
.tdr-preview-legal-formal .tdr-preview-body h3 { color: #991b1b; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-legal-formal .tdr-preview-side { background:#f9fafb; border-left:3px solid #991b1b; }
.tdr-preview-legal-formal .tdr-preview-side span { background:#fff; color:#111827; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-legal-formal .tdr-preview-head { background:#fff; color:#111827; border-bottom:2px solid #111827; } .tdr-preview-legal-formal .tdr-preview-body h3 { color:#111827; }
.tdr-preview-academic-cv .tdr-preview-head { background: #1e1b4b; color:#fff; }
.tdr-preview-academic-cv .tdr-preview-body h3 { color: #4338ca; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-academic-cv .tdr-preview-side { background:#eef2ff; border-left:3px solid #4338ca; }
.tdr-preview-academic-cv .tdr-preview-side span { background:#fff; color:#1e1b4b; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-academic-cv .tdr-preview-head { background:#fff; color:#1e1b4b; border-bottom:2px solid #1e1b4b; } .tdr-preview-academic-cv .tdr-preview-body h3 { color:#1e1b4b; }
.tdr-preview-customer-service .tdr-preview-head { background: #713f12; color:#fff; }
.tdr-preview-customer-service .tdr-preview-body h3 { color: #f59e0b; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-customer-service .tdr-preview-side { background:#fffbeb; border-left:3px solid #f59e0b; }
.tdr-preview-customer-service .tdr-preview-side span { background:#fff; color:#713f12; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-customer-service .tdr-preview-head { border-bottom:7px solid #f59e0b; } .tdr-preview-customer-service .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-warehouse-logistics .tdr-preview-head { background: #374151; color:#fff; }
.tdr-preview-warehouse-logistics .tdr-preview-body h3 { color: #0ea5e9; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-warehouse-logistics .tdr-preview-side { background:#f0f9ff; border-left:3px solid #0ea5e9; }
.tdr-preview-warehouse-logistics .tdr-preview-side span { background:#fff; color:#374151; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-warehouse-logistics .tdr-preview-head { border-bottom:7px solid #0ea5e9; } .tdr-preview-warehouse-logistics .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-apprentice-ready .tdr-preview-head { background: #365314; color:#fff; }
.tdr-preview-apprentice-ready .tdr-preview-body h3 { color: #84cc16; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-apprentice-ready .tdr-preview-side { background:#f7fee7; border-left:3px solid #84cc16; }
.tdr-preview-apprentice-ready .tdr-preview-side span { background:#fff; color:#365314; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-apprentice-ready { box-shadow:none; } .tdr-preview-apprentice-ready .tdr-preview-head { background:#fff; color:#365314; border-bottom:3px solid #e5e7eb; } .tdr-preview-apprentice-ready .tdr-preview-body { grid-template-columns:1fr; }
.tdr-preview-leadership-premium .tdr-preview-head { background: #0f172a; color:#fff; }
.tdr-preview-leadership-premium .tdr-preview-body h3 { color: #c084fc; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-leadership-premium .tdr-preview-side { background:#faf5ff; border-left:3px solid #c084fc; }
.tdr-preview-leadership-premium .tdr-preview-side span { background:#fff; color:#0f172a; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-leadership-premium .tdr-preview-head { background:#fff; color:#0f172a; border-top:10px solid #0f172a; border-bottom:3px solid #c084fc; } .tdr-preview-leadership-premium .tdr-preview-side { border-left:0; border-top:4px solid #c084fc; }
.tdr-preview-local-business .tdr-preview-head { background: #431407; color:#fff; }
.tdr-preview-local-business .tdr-preview-body h3 { color: #fb923c; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-local-business .tdr-preview-side { background:#fff7ed; border-left:3px solid #fb923c; }
.tdr-preview-local-business .tdr-preview-side span { background:#fff; color:#431407; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-security-operations .tdr-preview-head { background: #030712; color:#fff; }
.tdr-preview-security-operations .tdr-preview-body h3 { color: #22c55e; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-security-operations .tdr-preview-side { background:#f0fdf4; border-left:3px solid #22c55e; }
.tdr-preview-security-operations .tdr-preview-side span { background:#fff; color:#030712; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-security-operations .tdr-preview-head { border-bottom:7px solid #22c55e; } .tdr-preview-security-operations .tdr-preview-body h3 { letter-spacing:.16em; }
.tdr-preview-cleaning-facilities .tdr-preview-head { background: #155e75; color:#fff; }
.tdr-preview-cleaning-facilities .tdr-preview-body h3 { color: #67e8f9; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-cleaning-facilities .tdr-preview-side { background:#ecfeff; border-left:3px solid #67e8f9; }
.tdr-preview-cleaning-facilities .tdr-preview-side span { background:#fff; color:#155e75; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-cleaning-facilities { box-shadow:none; } .tdr-preview-cleaning-facilities .tdr-preview-head { background:#fff; color:#155e75; border-bottom:3px solid #e5e7eb; } .tdr-preview-cleaning-facilities .tdr-preview-body { grid-template-columns:1fr; }
.tdr-preview-career-change .tdr-preview-head { background: #312e81; color:#fff; }
.tdr-preview-career-change .tdr-preview-body h3 { color: #f43f5e; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-career-change .tdr-preview-side { background:#fff1f2; border-left:3px solid #f43f5e; }
.tdr-preview-career-change .tdr-preview-side span { background:#fff; color:#312e81; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-career-change .tdr-preview-head { border-bottom:7px solid #f43f5e; } .tdr-preview-career-change .tdr-preview-body h3 { letter-spacing:.16em; }


/* Phase 5.9 Jon feedback: varied headings and photo-friendly templates */
.tdr-wrap input[type="file"] { width: 100%; border: 1px solid var(--tdr-border); border-radius: 12px; padding: 12px; background: #fff; color: var(--tdr-text); }
.tdr-preview-photo { width: 52px; height: 52px; object-fit: cover; border-radius: 999px; border: 3px solid rgba(255,255,255,.8); margin-bottom: 4px; }
.tdr-preview-photo-profile .tdr-preview-head { background: linear-gradient(135deg,#134e4a,#14b8a6); color:#fff; }
.tdr-preview-photo-profile .tdr-preview-body h3 { color:#14b8a6; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-photo-profile .tdr-preview-side { background:#f0fdfa; border-left:3px solid #14b8a6; }
.tdr-preview-photo-profile .tdr-preview-side span { background:#fff; color:#134e4a; border:1px solid rgba(15,23,42,.08); }
.tdr-preview-photo-modern .tdr-preview-head { background:#1e1b4b; color:#fff; }
.tdr-preview-photo-modern .tdr-preview-body { grid-template-columns:92px 1fr; }
.tdr-preview-photo-modern .tdr-preview-main { order:2; }
.tdr-preview-photo-modern .tdr-preview-side { order:1; background:#f5f3ff; border-top:3px solid #8b5cf6; }
.tdr-preview-photo-modern .tdr-preview-body h3 { color:#8b5cf6; border-bottom:1px solid #e5e7eb; padding-bottom:4px; }
.tdr-preview-photo-modern .tdr-preview-side span { background:#fff; color:#1e1b4b; border:1px solid rgba(15,23,42,.08); }


/* Phase 6.0 Jon review: all-page workflow nav, purchase history, and template variation */
.tdr-workflow-links { display:flex; gap:8px; flex-wrap:wrap; margin:-8px 0 22px; }
.tdr-workflow-links a { text-decoration:none; color:var(--tdr-navy); background:#fff; border:1px solid var(--tdr-border); border-radius:999px; padding:8px 12px; font-weight:800; font-size:13px; }
.tdr-workflow-links a.is-current, .tdr-workflow-links a:hover { background:var(--tdr-blue); color:#fff; border-color:var(--tdr-blue); }
.tdr-history-card { margin-top:24px; }
.tdr-history-table-wrap { overflow-x:auto; margin-top:18px; }
.tdr-history-table { width:100%; border-collapse:collapse; font-size:14px; }
.tdr-history-table th, .tdr-history-table td { text-align:left; padding:12px 10px; border-bottom:1px solid var(--tdr-border); vertical-align:top; }
.tdr-history-table th { color:var(--tdr-navy); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.tdr-history-table span { color:var(--tdr-muted); font-size:12px; }
.tdr-status-pill { display:inline-flex; border-radius:999px; padding:4px 9px; font-weight:800; font-size:12px; background:#f1f5f9; color:#334155; }
.tdr-status-paid { background:#dcfce7; color:#166534; }
.tdr-status-unpaid { background:#fef3c7; color:#92400e; }
.tdr-history-actions { display:flex; gap:8px; flex-wrap:wrap; }
.tdr-history-actions a { color:var(--tdr-blue); font-weight:800; text-decoration:none; }
@media (max-width:640px){ .tdr-history-table th:nth-child(2), .tdr-history-table td:nth-child(2), .tdr-history-table th:nth-child(4), .tdr-history-table td:nth-child(4){ display:none; } }


/* Phase 6.2 gallery differentiation: small cards echo each template's distinct script and visual language. */
.tdr-resume-preview .tdr-preview-head strong{display:block}.tdr-preview-classic-professional .tdr-preview-head strong{font-family:Georgia,'Times New Roman',serif;letter-spacing:.02em}.tdr-preview-modern-corporate .tdr-preview-head strong{font-family:'Trebuchet MS',Arial,sans-serif;text-transform:none}.tdr-preview-minimal-clean .tdr-preview-head strong{font-weight:300;text-transform:uppercase;letter-spacing:.14em}.tdr-preview-creative-professional .tdr-preview-head strong{font-family:Verdana,sans-serif;letter-spacing:-.06em}.tdr-preview-executive-blueprint .tdr-preview-head strong{font-family:Georgia,serif;text-align:center}.tdr-preview-graduate-starter .tdr-preview-head strong{font-family:'Arial Narrow',Arial,sans-serif}.tdr-preview-trades-practical .tdr-preview-head strong,.tdr-preview-mining-resources .tdr-preview-head strong,.tdr-preview-warehouse-logistics .tdr-preview-head strong,.tdr-preview-security-operations .tdr-preview-head strong{font-family:Impact,'Arial Black',Arial,sans-serif;text-transform:uppercase}.tdr-preview-healthcare-calm .tdr-preview-head strong,.tdr-preview-community-services .tdr-preview-head strong{font-family:Georgia,serif;font-weight:600}.tdr-preview-education-warm .tdr-preview-head strong{font-family:'Trebuchet MS',Arial,sans-serif}.tdr-preview-tech-slate .tdr-preview-head strong{font-family:'Courier New',monospace}.tdr-preview-admin-organised .tdr-preview-head strong,.tdr-preview-finance-precise .tdr-preview-head strong{letter-spacing:.12em;text-transform:uppercase}.tdr-preview-sales-impact .tdr-preview-head strong,.tdr-preview-customer-service .tdr-preview-head strong,.tdr-preview-hospitality-shift .tdr-preview-head strong{font-family:Verdana,sans-serif;letter-spacing:-.04em}.tdr-preview-project-manager .tdr-preview-head strong{font-family:'Arial Narrow',Arial,sans-serif;text-transform:uppercase}.tdr-preview-government-formal .tdr-preview-head strong,.tdr-preview-legal-formal .tdr-preview-head strong{font-family:Georgia,serif;text-transform:uppercase;letter-spacing:.09em}.tdr-preview-academic-cv .tdr-preview-head strong{font-family:Georgia,serif;font-weight:500}.tdr-preview-creative-portfolio .tdr-preview-head strong{font-family:Verdana,sans-serif;letter-spacing:-.08em}.tdr-preview-engineering-precision .tdr-preview-head strong{font-family:'Arial Narrow',Arial,sans-serif;text-transform:uppercase;letter-spacing:.11em}.tdr-preview-apprentice-ready .tdr-preview-head strong{font-family:'Arial Narrow',Arial,sans-serif}.tdr-preview-leadership-premium .tdr-preview-head strong{font-family:Georgia,serif;text-align:center}.tdr-preview-local-business .tdr-preview-head strong{font-family:Arial,sans-serif}.tdr-preview-cleaning-facilities .tdr-preview-head strong{font-weight:700;letter-spacing:.04em}.tdr-preview-career-change .tdr-preview-head strong{font-family:'Trebuchet MS',Arial,sans-serif}.tdr-preview-photo-profile .tdr-preview-head{text-align:center}.tdr-preview-photo-profile .tdr-preview-photo{float:none;margin:0 auto 8px}.tdr-preview-photo-modern .tdr-preview-photo{border-radius:12px}.tdr-preview-government-formal .tdr-preview-body,.tdr-preview-academic-cv .tdr-preview-body{grid-template-columns:1fr}.tdr-preview-creative-portfolio .tdr-preview-body{grid-template-columns:1fr}.tdr-preview-project-manager .tdr-preview-body,.tdr-preview-tech-slate .tdr-preview-body,.tdr-preview-engineering-precision .tdr-preview-body,.tdr-preview-photo-modern .tdr-preview-body{grid-template-columns:92px 1fr}.tdr-preview-project-manager .tdr-preview-main,.tdr-preview-tech-slate .tdr-preview-main,.tdr-preview-engineering-precision .tdr-preview-main,.tdr-preview-photo-modern .tdr-preview-main{order:2}.tdr-preview-project-manager .tdr-preview-side,.tdr-preview-tech-slate .tdr-preview-side,.tdr-preview-engineering-precision .tdr-preview-side,.tdr-preview-photo-modern .tdr-preview-side{order:1}.tdr-preview-sales-impact .tdr-preview-body h3::before{content:'UP '}.tdr-preview-career-change .tdr-preview-body h3::after{content:' / transferable';font-size:8px;text-transform:none;letter-spacing:0}.tdr-preview-mining-resources .tdr-preview-body h3,.tdr-preview-trades-practical .tdr-preview-body h3,.tdr-preview-security-operations .tdr-preview-body h3{background:rgba(0,0,0,.06);padding:4px 6px;border:0}.tdr-preview-healthcare-calm .tdr-preview-body h3,.tdr-preview-education-warm .tdr-preview-body h3,.tdr-preview-community-services .tdr-preview-body h3{font-family:Georgia,serif;text-transform:none;letter-spacing:0;font-size:12px}.tdr-preview-minimal-clean .tdr-preview-side span,.tdr-preview-finance-precise .tdr-preview-side span,.tdr-preview-cleaning-facilities .tdr-preview-side span{border-radius:0}.tdr-preview-creative-professional,.tdr-preview-creative-portfolio,.tdr-preview-sales-impact,.tdr-preview-photo-profile{overflow:hidden}


/* Phase 6.3 editor controls: employment box options and standardised reference boxes. */
.tdr-box-style-control select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;background:#fff;color:#0f172a}.tdr-box-style-control small{display:block;margin-top:6px;color:#64748b;line-height:1.45}.tdr-repeater-row-work_history,.tdr-repeater-row-references{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 8px 20px rgba(37,99,235,.05)}.tdr-repeater-row-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-color:#ddd6fe;background:#fbfaff}.tdr-repeater-row-references .tdr-field{margin:0}@media (max-width:720px){.tdr-repeater-row-references{grid-template-columns:1fr}}


/* Phase 6.4 editor repeater UX: no customer-facing "boxed entry" labels; add-more buttons for repeatable sections. */
.tdr-repeater{margin-bottom:20px}.tdr-repeater-rows{display:block}.tdr-repeater-row-work_history,.tdr-repeater-row-references{position:relative}.tdr-repeater-row-work_history::before,.tdr-repeater-row-references::before{content:none!important;display:none!important}.tdr-add-row{appearance:none;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:10px 14px;font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 6px 14px rgba(37,99,235,.08);margin:2px 0 18px}.tdr-add-row:hover,.tdr-add-row:focus{background:#dbeafe;border-color:#93c5fd;outline:2px solid rgba(37,99,235,.16);outline-offset:2px}.tdr-repeater-row-education{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 8px 20px rgba(37,99,235,.05)}@media (max-width:720px){.tdr-sticky-actions{position:static!important;margin-top:22px}.tdr-sticky-actions .tdr-button{width:100%;justify-content:center;text-align:center}.tdr-add-row{width:100%;text-align:center}.tdr-repeater-row-work_history,.tdr-repeater-row-education,.tdr-repeater-row-references{padding:14px}}


/* Phase 6.5 Jon fixes: real logos, single nav row, editor repeaters, template masthead differentiation. */
.tdr-brand-logo img { max-height: 78px; width: auto; object-fit: contain; }
.tdr-brand-strip { align-items: center; }
.tdr-workflow-links { display: none !important; }
.tdr-required-warning { border-left: 6px solid #f59e0b; }
.tdr-confirm-missing { grid-column: 1 / -1; background:#fffbeb; border:1px solid #fde68a; border-radius:12px; padding:12px; }
.tdr-downloads-card { border: 2px solid #bfdbfe; background: linear-gradient(180deg,#eff6ff,#fff); }
.tdr-history-actions a { display:inline-block; margin: 0 8px 8px 0; font-weight:800; }
.tdr-repeater-row-skill_items { grid-template-columns: 1fr; }
.tdr-repeater-row-references { grid-template-columns: repeat(2,minmax(0,1fr)); border-left: 5px solid var(--tdr-blue); }
.tdr-repeater-row-references .tdr-field:last-child { grid-column: 1 / -1; }
.tdr-resume-preview .tdr-preview-head strong { display:block; }
.tdr-preview-classic-professional .tdr-preview-head strong{font-family:Georgia,serif;font-size:24px;letter-spacing:.02em}.tdr-preview-classic-professional .tdr-preview-head span{text-transform:uppercase;letter-spacing:.15em;font-size:11px}
.tdr-preview-modern-corporate .tdr-preview-head strong{font-family:'Trebuchet MS',Arial;font-size:22px;font-weight:900;letter-spacing:-.05em}.tdr-preview-modern-corporate .tdr-preview-head span{font-weight:800}
.tdr-preview-minimal-clean .tdr-preview-head strong{font-family:Helvetica,Arial;font-size:20px;font-weight:300;text-transform:uppercase;letter-spacing:.14em}.tdr-preview-minimal-clean .tdr-preview-head span{letter-spacing:.22em;text-transform:uppercase;font-size:10px}
.tdr-preview-creative-professional .tdr-preview-head strong{font-family:Verdana;font-size:24px;font-weight:900;letter-spacing:-.08em}.tdr-preview-creative-professional .tdr-preview-head span{font-style:italic}
.tdr-preview-tech-slate .tdr-preview-head strong{font-family:'Courier New',monospace;font-size:20px}.tdr-preview-tech-slate .tdr-preview-head span{font-family:'Courier New',monospace;color:#38bdf8}
.tdr-preview-trades-practical .tdr-preview-head strong,.tdr-preview-mining-resources .tdr-preview-head strong,.tdr-preview-warehouse-logistics .tdr-preview-head strong,.tdr-preview-security-operations .tdr-preview-head strong{font-family:Impact,'Arial Black',Arial;text-transform:uppercase;letter-spacing:.05em}.tdr-preview-trades-practical .tdr-preview-head span,.tdr-preview-mining-resources .tdr-preview-head span,.tdr-preview-warehouse-logistics .tdr-preview-head span,.tdr-preview-security-operations .tdr-preview-head span{text-transform:uppercase;font-weight:900;letter-spacing:.12em}
.tdr-preview-executive-blueprint .tdr-preview-head strong,.tdr-preview-leadership-premium .tdr-preview-head strong{font-family:Georgia,serif;font-size:25px}.tdr-preview-executive-blueprint .tdr-preview-head span,.tdr-preview-leadership-premium .tdr-preview-head span{text-transform:uppercase;letter-spacing:.18em}
.tdr-preview-government-formal .tdr-preview-head strong,.tdr-preview-legal-formal .tdr-preview-head strong,.tdr-preview-academic-cv .tdr-preview-head strong{font-family:Georgia,serif;text-transform:uppercase;letter-spacing:.08em}
@media (max-width: 640px) { .tdr-brand-logo img { max-height: 54px; } .tdr-repeater-row-references { grid-template-columns: 1fr; } }
