@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #1c2b25;
    --muted: #66746d;
    --green: #245c45;
    --green-dark: #194733;
    --mint: #e8f1eb;
    --paper: #fffefa;
    --line: #e4e9e3;
    --sand: #f7f5ee;
    --font-body: 'Segoe UI', Arial, sans-serif;
    --font-display: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: relative; z-index: 3; background: var(--paper); border-bottom: 1px solid rgba(28, 43, 37, .07); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.site-navigation { position: relative; }
.mobile-menu-toggle { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px var(--font-display); letter-spacing: -.8px; }
.brand > span:last-child i { color: #d49855; font-style: normal; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px 10px 10px 3px; background: var(--green); color: white; font: 800 20px var(--font-display); }
.site-nav { display: flex; align-items: center; gap: 22px; color: #536159; font-size: 13px; font-weight: 600; }
.site-nav a:hover, .text-link:hover { color: var(--green); }
.site-nav .nav-cta { padding: 10px 16px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; }
.site-nav .nav-cta:hover { background: var(--green-dark); color: white; }
.site-nav .language-switch { color: #536159; }
.nav-cta span { padding-left: 9px; }
.nav-logout { margin: 0; }
.nav-logout button { padding: 6px 0; border: 0; background: transparent; color: #536159; cursor: pointer; font-size: inherit; font-weight: inherit; }
.nav-logout button:hover { color: var(--green); }

.hero { position: relative; overflow: hidden; background: #f5f6ef; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: 42px; padding-top: 40px; padding-bottom: 55px; }
.hero-copy { position: relative; z-index: 1; padding: 10px 0 15px; }
.eyebrow { margin: 0 0 15px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1.35px; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; margin: 0 8px 1px 0; border-radius: 50%; background: #d49a5e; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 610px; margin-bottom: 20px; font: 800 clamp(42px, 5vw, 63px)/1.08 var(--font-display); letter-spacing: -3.2px; }
.hero h1 span { color: var(--green); }
.hero-description { max-width: 475px; margin-bottom: 28px; color: #69756e; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 19px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-primary span { font-size: 17px; }
.button-outline { border-color: #d6dfd8; background: white; color: var(--green); }
.button-outline:hover { background: #f5f8f5; }
.button-light { background: white; color: var(--green); }
.button-light:hover { background: #edf4ee; }
.text-link { color: #49574f; font-size: 13px; font-weight: 600; }
.hero-note { margin-top: 23px; color: #68756c; font-size: 12px; }
.check-mark { width: 17px; height: 17px; display: inline-grid; place-items: center; margin-right: 6px; border-radius: 50%; background: #dce9df; color: var(--green); font-size: 11px; font-weight: 700; }

.resume-art { position: relative; min-height: 435px; display: grid; place-items: center; }
.resume-art:before { content: ''; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: #e8ede1; }
.art-orbit { position: absolute; border: 1px solid #dce4d8; border-radius: 50%; }
.orbit-one { width: 450px; height: 300px; transform: rotate(-24deg); }
.orbit-two { width: 480px; height: 350px; transform: rotate(28deg); }
.resume-sheet { position: relative; z-index: 1; width: 300px; min-height: 390px; padding: 30px 28px; border-radius: 5px; background: white; box-shadow: 0 20px 55px rgba(34, 57, 43, .14); transform: rotate(3deg); }
.resume-top { display: flex; align-items: center; gap: 13px; }
.resume-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #e5eee6; color: var(--green); font: 700 14px var(--font-display); }
.resume-name { color: #25352c; font: 800 15px var(--font-display); }
.resume-role { color: #8b948e; font-size: 8px; }
.resume-rule { height: 1px; margin: 20px 0 15px; background: #e8ece8; }
.resume-section-label { margin: 14px 0 8px; color: #477057; font: 700 7px var(--font-display); letter-spacing: 1px; }
.resume-line { height: 4px; margin: 5px 0; border-radius: 3px; background: #edf0ec; }
.line-long { width: 100%; }.line-medium { width: 74%; }
.resume-entry { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 5px; }
.resume-entry span { width: 46%; height: 5px; border-radius: 3px; background: #dce5dc; }
.resume-entry i { width: 23%; height: 4px; border-radius: 3px; background: #f0eee7; }
.resume-skills { display: flex; gap: 5px; margin-top: 9px; }
.resume-skills b { padding: 4px 5px; border-radius: 3px; background: #f1f5f0; color: #668070; font-size: 5px; letter-spacing: .3px; }
.art-sticker { position: absolute; z-index: 2; right: 0; bottom: 69px; padding: 13px 15px; border-radius: 6px; background: #e1ece1; color: var(--green); font: 700 11px/1.5 var(--font-display); transform: rotate(-5deg); }
.art-sticker span { margin-right: 3px; color: #ce965d; }
.art-sparkle { position: absolute; color: #d5a064; }
.sparkle-one { top: 45px; left: 18%; font-size: 25px; }.sparkle-two { top: 83px; right: 14%; font-size: 19px; }

.trust-strip { border-bottom: 1px solid #edf0eb; background: #fff; }
.trust-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #69766d; font-size: 12px; font-weight: 600; }
.trust-inner > span { color: #8a948d; font-size: 9px; letter-spacing: 1.1px; }
.trust-inner i { margin-right: 6px; color: #bf9568; font-style: normal; }
.section { padding: 83px 0 95px; }
.section-heading { max-width: 570px; margin: 0 auto 43px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .free-callout h2 { margin-bottom: 13px; font: 800 34px/1.2 var(--font-display); letter-spacing: -1.5px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 230px; padding: 27px 26px; border: 1px solid #e8ece6; border-radius: 8px; background: white; }
.step-number { position: absolute; top: 24px; right: 25px; color: #c4cdc5; font: 700 12px var(--font-display); }
.step-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; font-size: 21px; }
.icon-sand { background: #f7efe2; color: #ac7c48; }.icon-lilac { background: #f0edf5; color: #756990; }.icon-mint { background: #e8f2eb; color: #4a795b; }
.step-card h3 { margin-bottom: 8px; font: 700 16px var(--font-display); }
.step-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.free-callout { padding: 48px 0; background: #234f3d; color: white; }
.free-callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.free-callout .eyebrow { margin-bottom: 8px; color: #c8dbc9; }
.free-callout h2 { margin-bottom: 8px; font-size: 31px; }
.free-callout p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; color: #d4e0d6; font-size: 13px; }
.callout-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.callout-link { color: #e1ede3; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.callout-link-muted { color: #b6c8ba; text-decoration: none; }
.site-footer { border-top: 1px solid #edf0eb; background: white; }
.footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 16px; }.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px 8px 8px 2px; font-size: 16px; }
.footer-inner p, .footer-copy { margin: 0; color: #808b84; font-size: 11px; }

.builder-page, .preview-page { background: #f7f8f5; }
.builder-container { max-width: 800px; padding-top: 37px; padding-bottom: 70px; }
.builder-heading { margin: 0 0 27px; }
.back-link { display: inline-block; margin-bottom: 30px; color: #64746a; font-size: 12px; font-weight: 600; }
.back-link:hover { color: var(--green); }
.builder-heading .eyebrow { margin-bottom: 7px; }
.builder-heading h1, .preview-toolbar h1 { margin-bottom: 7px; font: 800 34px/1.2 var(--font-display); letter-spacing: -1.5px; }
.builder-heading > p:not(.eyebrow) { margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.free-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 4px; background: #e9f1e9; color: #42644b; font-size: 11px; font-weight: 600; }
.free-status span { font-weight: 700; }
.cv-form { padding: 9px 30px 28px; border: 1px solid #e6eae4; border-radius: 8px; background: white; box-shadow: 0 8px 28px rgba(36, 57, 42, .035); }
.form-section { padding: 28px 0; border-bottom: 1px solid #edf0eb; }
.form-section:last-of-type { border-bottom: 0; }
.form-section-title { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.section-index { width: 26px; height: 26px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #edf4ee; color: var(--green); font: 700 10px var(--font-display); }
.form-section-title h2 { margin: 0 0 2px; font: 700 16px var(--font-display); }
.form-section-title p { margin: 0; color: #78847c; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; color: #34443a; font-size: 11px; font-weight: 700; }
.field-full { grid-column: 1 / -1; }
.required { color: #bc654e; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 11px; border: 1px solid #dfe5df; border-radius: 5px; outline: none; background-color: white; color: var(--ink); font-size: 12px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.field select { min-height: 40px; padding-right: 32px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #66746d 50%), linear-gradient(135deg, #66746d 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; cursor: pointer; }
.field input { min-height: 40px; }
.field textarea { min-height: 83px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #7a9c83; box-shadow: 0 0 0 3px rgba(89, 134, 101, .12); }
.field input::placeholder, .field textarea::placeholder { color: #a4ada6; }
.field input:disabled { background: #f2f4f1; color: #8b948e; cursor: not-allowed; }
.field input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; padding: 0; accent-color: var(--green); }
.field-hint { color: #89938c; font-size: 10px; font-weight: 400; }
.optional { color: #89938c; font-size: 10px; font-weight: 400; }
.date-range { min-width: 0; align-self: start; margin: 0; padding: 0; border: 0; }
.date-range legend { margin-bottom: 6px; padding: 0; color: #34443a; font-size: 11px; font-weight: 700; }
.date-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.date-inputs label { display: flex; flex-direction: column; gap: 6px; color: #59675e; font-size: 10px; font-weight: 600; }
.date-inputs input { min-width: 0; }
.current-entry { display: inline-flex; align-items: center; gap: 7px; color: #59675e; font-size: 10px; font-weight: 500; }
.current-entry input { flex: 0 0 auto; }
.character-count { align-self: flex-end; color: #89938c; font-size: 10px; font-weight: 400; }
.entry-list { display: grid; gap: 13px; }
.repeat-entry { padding: 16px; border: 1px solid #edf0eb; border-radius: 6px; background: #fdfefd; }
.repeat-entry-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #506056; font-size: 11px; }
.entry-number { color: #839087; font-weight: 500; }
.remove-entry { padding: 3px 6px; border: 0; background: transparent; color: #9c6257; cursor: pointer; font-size: 10px; }
.add-entry { margin-top: 13px; padding: 0; border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 700; }
.add-entry:hover, .remove-entry:hover { text-decoration: underline; }
.add-entry:disabled { color: #89938c; cursor: not-allowed; text-decoration: none; }
.skill-entry-box { min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 7px; border: 1px solid #dfe5df; border-radius: 5px; background: white; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skill-entry-box:focus-within { border-color: #7a9c83; box-shadow: 0 0 0 3px rgba(89, 134, 101, .12); }
.skill-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; background: #edf4ee; color: #355a40; font-size: 11px; font-weight: 600; }
.skill-chip input[type="hidden"] { display: none; }
.remove-skill { width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #506b57; cursor: pointer; font-size: 17px; line-height: 1; }
.remove-skill:hover { background: #dce9df; }
.skill-entry-box input#skill-input { width: auto; min-width: 160px; min-height: 32px; flex: 1 1 160px; padding: 4px 6px; border: 0; outline: 0; box-shadow: none; }
.skill-entry-box input#skill-input:focus { box-shadow: none; }
.add-skill { min-height: 32px; padding: 0 10px; border: 1px solid #d6dfd8; border-radius: 4px; background: #fff; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; }
.add-skill:hover { background: #f5f8f5; }
.skill-status { min-height: 14px; color: #66746d; font-size: 10px; font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 22px; }
.form-alert { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #e9c9bd; border-radius: 6px; background: #fff7f3; color: #7c4638; font-size: 12px; }
.form-alert ul { margin: 6px 0 0; padding-left: 20px; }
.form-alert:focus { outline: 3px solid rgba(89, 134, 101, .25); outline-offset: 3px; }
.form-notice { border-color: #c9dccd; background: #f2f8f2; color: #355a40; }
.privacy-note { margin: 14px 0 0; color: #89938c; font-size: 10px; text-align: right; }
.download-note { margin: -12px 0 20px; padding: 11px 14px; border: 1px solid #dce9df; border-radius: 5px; background: #f1f7f1; color: #45644c; font-size: 11px; }
.auth-container { max-width: 500px; min-height: calc(100vh - 160px); display: grid; align-items: start; padding-top: 55px; padding-bottom: 55px; }
.auth-card { padding: 30px; border: 1px solid #e6eae4; border-radius: 8px; background: white; box-shadow: 0 8px 28px rgba(36, 57, 42, .035); }
.auth-card h1 { margin-bottom: 7px; font: 800 30px/1.2 var(--font-display); letter-spacing: -1px; }
.auth-intro { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.auth-card form { display: grid; gap: 16px; }
.auth-submit { width: 100%; margin-top: 4px; }
.google-auth-form { margin-top: 20px; }
.google-auth-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; }
.google-auth-mark { color: #4285f4; font: 800 18px/1 Arial, sans-serif; }
.marketing-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.marketing-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--green); }
.google-auth-note { margin: -7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.email-preferences-card { position: relative; margin: 24px 0; padding: 20px; border: 1px solid #e6eae4; border-radius: 8px; background: white; }
.email-preferences-card h2 { margin: 0 0 6px; padding-inline-end: 30px; font-size: 16px; }
.email-preferences-card p { margin: 0; color: var(--muted); font-size: 11px; }
.email-preferences-card .marketing-consent { margin: 14px 0; }
.email-preferences-dismiss { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; }
.email-preferences-dismiss:hover { background: var(--mint); color: var(--green); }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-switch a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.preview-container { max-width: 900px; padding-top: 42px; padding-bottom: 65px; }
.preview-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.preview-toolbar .eyebrow { margin-bottom: 6px; }
.preview-toolbar h1 { font-size: 30px; }
.preview-toolbar p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; }
.preview-actions { display: flex; gap: 8px; }
.preview-actions .button { white-space: nowrap; }
.cv-paper { width: min(100%, 760px); min-height: 950px; margin: 0 auto; padding: 62px 68px; background: white; box-shadow: 0 9px 35px rgba(28, 43, 37, .1); color: #292929; font-family: Arial, sans-serif; }
.cv-header { padding-bottom: 21px; border-bottom: 2px solid #777; }
.cv-header h1 { margin: 0 0 4px; color: #222; font: 700 36px/1.2 Arial, sans-serif; letter-spacing: .2px; }
.cv-title { margin: 0 0 11px; color: #555; font-size: 18px; font-weight: 600; }
.cv-contact { display: flex; flex-wrap: wrap; gap: 7px 16px; color: #555; font-size: 15px; font-weight: 500; }
.cv-section { margin-top: 25px; }
.cv-section h2 { margin: 0 0 11px; padding-bottom: 6px; border-bottom: 1px solid #d5d5d5; color: #333; font: 700 16px Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.cv-summary, .cv-entry-description { margin: 0; color: #444; font-size: 16px; line-height: 1.5; }
.cv-entry { margin-bottom: 15px; }
.cv-entry:last-child { margin-bottom: 0; }
.cv-entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; font-size: 15px; }
.cv-entry-heading strong { color: #292929; }
.cv-entry-heading span { flex: 0 0 auto; color: #666; font-size: 14px; }
.cv-entry-subtitle { margin: 3px 0 5px; color: #555; font-size: 14px; }
.cv-entry-description { margin-top: 4px; }
.cv-skill-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.cv-skill-list li { padding: 5px 9px; border-radius: 3px; background: #f1f1f1; color: #444; font-size: 13px; }
.preview-footnote { margin: 15px 0 0; color: #7d8981; font-size: 10px; text-align: center; }

@media (max-width: 760px) {
    .container { width: min(100% - 36px, 580px); }
    .header-inner { min-height: 68px; }
    .site-nav { gap: 13px; font-size: 11px; }
    .site-nav .nav-cta { padding: 8px 10px; }
    .hero-grid { min-height: unset; grid-template-columns: 1fr; gap: 10px; padding-top: 60px; padding-bottom: 25px; }
    .hero h1 { max-width: 570px; font-size: clamp(42px, 10vw, 59px); }
    .resume-art { min-height: 390px;
        overflow: hidden; }
    .resume-art:before { width: 330px; height: 330px; }
    .resume-sheet { width: 270px; min-height: 350px; padding: 24px; }
    .art-sticker { right: 4%; bottom: 57px; }
    .trust-inner { min-height: 90px; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding-top: 13px; padding-bottom: 13px; }
    .trust-inner > span { width: 100%; text-align: center; }
    .section { padding: 65px 0; }
    .section-heading h2 { font-size: 29px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { min-height: 0; padding: 22px; }
    .free-callout-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
    .callout-actions { gap: 12px; }
    .footer-inner { min-height: 95px; flex-wrap: wrap; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
    .footer-inner p { order: 3; width: 100%; }
    .builder-container, .preview-container { padding-top: 25px; }
    .auth-container { min-height: calc(100vh - 160px); padding-top: 30px; }
    .auth-card { padding: 22px; }
    .cv-form { padding-right: 19px; padding-left: 19px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .preview-toolbar { align-items: flex-start; flex-direction: column; }
    .preview-actions { width: 100%; }
    .preview-actions .button { flex: 1; padding: 0 10px; font-size: 11px; }
    .cv-paper { min-height: 0; padding: 30px 24px; }
    .cv-header { padding-bottom: 15px; }
    .cv-header h1 { font-size: 26px; }
    .cv-title { font-size: 13px; }
    .cv-contact { padding-top: 9px; font-size: 11px; }
    .cv-contact span { padding: 0 7px; }
    .cv-section { margin-top: 18px; }
    .cv-section h2 { margin-bottom: 8px; font-size: 13px; }
    .cv-summary, .cv-entry-description { font-size: 12px; line-height: 1.55; }
    .cv-entry-heading { align-items: flex-start; flex-direction: column; gap: 2px; font-size: 12px; }
    .cv-entry-heading span, .cv-entry-subtitle { font-size: 11px; }
    .cv-skill-list li { padding: 4px 7px; font-size: 10px; }
    .field select { min-height: 43px; padding: 10px 34px 10px 11px; font-size: 14px; }
}

@media print {
    @page { size: A4; margin: 15mm; }
    body, .preview-page { background: white !important; }
    .site-header, .site-footer, .preview-toolbar, .preview-footnote { display: none !important; }
    .container.preview-container { width: 100%; max-width: none; padding: 0; }
    .cv-paper { width: 100%; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
}

.rtl-page { --font-body: 'Cairo', Tahoma, Arial, sans-serif; --font-display: 'Cairo', Tahoma, Arial, sans-serif; font-family: var(--font-body); }
.rtl-page .cv-language-field { text-align: right; }
.rtl-page .field select { padding-right: 11px; padding-left: 34px; background-position: 16px 50%, 11px 50%; }
.cv-paper[dir="rtl"] { direction: rtl; text-align: right; font-family: 'Cairo', Tahoma, Arial, sans-serif; }
.cv-paper[dir="rtl"] .cv-header { text-align: center; }
.cv-paper[dir="rtl"] .cv-header h1, .cv-paper[dir="rtl"] .cv-section h2 { font-family: 'Cairo', Tahoma, Arial, sans-serif; }
.cv-paper[dir="rtl"] .cv-section h2 { letter-spacing: 0; text-transform: none; }
.cv-paper[dir="rtl"] .cv-contact { direction: rtl; }
.cv-paper[dir="rtl"] .cv-contact span + span { border-right: 1px solid #c6c6c6; border-left: 0; }
.cv-paper[dir="rtl"] .cv-entry-heading { direction: rtl; }

body { font-size: 16px; }
.builder-container { width: min(1440px, calc(100% - 48px)); max-width: 1440px; padding-top: 25px; padding-bottom: 60px; }
.builder-heading { margin-bottom: 22px; }
.builder-heading h1 { font-size: 38px; }
.builder-heading > p:not(.eyebrow) { font-size: 15px; }
.back-link { font-size: 14px; }
.free-status { padding: 8px 12px; font-size: 13px; }
.mobile-view-tabs { display: none; }
.builder-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: start; gap: 28px; }
.editor-pane { min-width: 0; }
.wizard-progress { margin-bottom: 13px; padding: 17px 20px; border: 1px solid #e6eae4; border-radius: 8px; background: white; }
.wizard-progress-copy { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 11px; color: #78847c; font-size: 13px; }
.wizard-progress-copy strong { color: #34443a; font-size: 15px; }
.wizard-progress-track { height: 6px; overflow: hidden; border-radius: 4px; background: #edf1ed; }
.wizard-progress-track span { height: 100%; display: block; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.cv-form { padding: 7px 28px 20px; }
.form-section { padding: 25px 0; }
.form-section-title { gap: 15px; margin-bottom: 22px; }
.section-index { width: 32px; height: 32px; font-size: 12px; }
.form-section-title h2 { font-size: 19px; }
.form-section-title p { font-size: 13px; line-height: 1.55; }
.form-grid { gap: 17px; }
.field { gap: 7px; font-size: 14px; }
.field input, .field textarea { padding: 11px 12px; font-size: 15px; }
.field select { min-height: 45px; padding: 11px 34px 11px 12px; font-size: 15px; }
.field input { min-height: 45px; }
.field textarea { min-height: 100px; }
.field-hint, .optional { font-size: 12px; }
.date-range legend { font-size: 14px; }
.date-inputs label, .current-entry { font-size: 12px; }
.date-inputs input { font-size: 14px; }
.repeat-entry { padding: 18px; }
.repeat-entry-heading { font-size: 14px; }
.remove-entry, .remove-additional-section { font-size: 13px; }
.add-entry { margin-top: 15px; font-size: 14px; }
.skill-chip { padding: 6px 10px; font-size: 13px; }
.add-skill { min-height: 36px; font-size: 13px; }
.skill-status, .character-count { font-size: 12px; }
.form-actions { justify-content: space-between; align-items: center; gap: 10px; }
.wizard-actions { position: relative; }
.wizard-actions .button[hidden] { display: none; }
.wizard-actions .button { min-height: 46px; font-size: 14px; }
.wizard-step-count { color: var(--muted); font-size: 13px; }
.privacy-note { font-size: 12px; }
.preview-pane { position: sticky; top: 18px; min-width: 0; padding: 15px; border: 1px solid #e6eae4; border-radius: 9px; background: #eef1ed; }
.preview-pane-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; color: #718077; font-size: 12px; }
.preview-pane-heading > div { display: flex; align-items: center; gap: 8px; color: #34443a; font-size: 14px; }
.preview-live-indicator { width: 8px; height: 8px; border-radius: 50%; background: #60956b; box-shadow: 0 0 0 3px #dceade; }
.preview-pane .cv-paper { width: 100%; min-height: 720px; padding: 42px 44px; box-shadow: 0 5px 20px rgba(28, 43, 37, .08); }
.preview-open-link { display: block; padding: 12px 0 1px; color: var(--green); font-size: 13px; font-weight: 600; text-align: center; }
.preview-open-link span { padding-left: 4px; }
.cv-header { text-align: center; }
.cv-identity { padding-bottom: 14px; }
.cv-header h1 { margin-bottom: 6px; font-size: 36px; text-align: center; }
.cv-title { margin: 0; color: #555; font-size: 14px; }
.cv-contact { justify-content: center; gap: 6px 0; padding-top: 12px; border-top: 1px solid #d5d5d5; font-size: 15px; }
.cv-contact span { padding: 0 11px; }
.cv-contact span + span { border-left: 1px solid #c6c6c6; }
.cv-preview-sections .cv-summary { white-space: pre-line; }
.cv-preview-sections .cv-entry-description { white-space: pre-line; }
.cv-preview-sections .cv-section > .cv-summary { line-height: 1.65; }
.extra-section-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.extra-section-option { min-height: 38px; padding: 7px 12px; border: 1px solid #d7e1d8; border-radius: 5px; background: #f8fbf8; color: var(--green); cursor: pointer; font-size: 13px; font-weight: 600; }
.extra-section-option:hover { border-color: #9fb6a3; background: #edf5ee; }
.additional-sections-list { display: grid; gap: 12px; margin-bottom: 13px; }
.additional-section-card { display: grid; gap: 12px; padding: 15px; border: 1px solid #e4e9e3; border-radius: 6px; background: #fdfefd; }
.additional-section-card .repeat-entry-heading { margin: 0; }
.additional-section-card textarea { min-height: 75px; }
.wizard-ready .wizard-step[hidden] { display: none; }

@media (max-width: 980px) {
    .builder-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 16px; }
    .cv-form { padding-right: 20px; padding-left: 20px; }
    .preview-pane { padding: 10px; }
    .preview-pane .cv-paper { padding: 30px 25px; }
}

@media (max-width: 760px) {
    .builder-container { width: min(100% - 36px, 580px); padding-top: 22px; }
    .builder-heading h1 { font-size: 34px; }
    .mobile-view-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 13px; padding: 4px; border: 1px solid #e0e6df; border-radius: 7px; background: #edf1ed; }
    .view-tab { min-height: 43px; border: 0; border-radius: 5px; background: transparent; color: #68766d; cursor: pointer; font-size: 15px; font-weight: 700; }
    .view-tab.is-active { background: white; color: var(--green); box-shadow: 0 1px 4px rgba(28, 43, 37, .1); }
    .builder-workspace { display: block; }
    .builder-workspace[data-view="edit"] .preview-pane { display: none; }
    .builder-workspace[data-view="preview"] .editor-pane { display: none; }
    .wizard-progress { padding: 14px 16px; }
    .wizard-progress-copy { font-size: 12px; }
    .wizard-progress-copy strong { font-size: 14px; }
    .cv-form { padding: 5px 17px 16px; }
    .form-section { padding: 21px 0; }
    .form-section-title h2 { font-size: 18px; }
    .form-section-title p { font-size: 12px; }
    .wizard-actions { position: sticky; bottom: 0; z-index: 2; margin: 0 -17px; padding: 12px 17px; border-top: 1px solid #e9ede8; background: rgba(255, 255, 255, .97); }
    .wizard-actions .button { min-height: 44px; padding: 0 12px; }
    .wizard-step-count { font-size: 12px; }
    .preview-pane { position: static; padding: 12px; }
    .preview-pane .cv-paper { min-height: 0; padding: 36px 25px; }
}

@media (max-width: 420px) {
    .wizard-actions { gap: 6px; }
    .wizard-actions .button { font-size: 12px; }
    .wizard-step-count { font-size: 11px; }
    .cv-contact span { padding: 0 7px; }
}

.site-home-label { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 10px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; white-space: nowrap; }
.site-logo { display: block; width: auto; max-width: 110px; padding: 4px 0; object-fit: contain; }
.footer-home-link { color: var(--green); font-size: 15px; font-weight: 700; }
.content-hero { padding: 74px 0 78px; background: #f5f6ef; }
.content-hero-inner { max-width: 820px; text-align: center; }
.content-hero .eyebrow { margin-bottom: 12px; }
.content-hero h1 { margin-bottom: 18px; font: 800 clamp(38px, 5vw, 55px)/1.13 var(--font-display); letter-spacing: -2px; }
.content-hero-inner > p:not(.eyebrow) { max-width: 690px; margin: 0 auto 25px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.content-hero .button { margin: 0 auto; }
.guide-section { padding-top: 60px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 42px; }
.guide-main { display: grid; gap: 0; }
.guide-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 0 0 32px; }
.guide-step > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #edf4ee; color: var(--green); font-size: 14px; font-weight: 750; }
.guide-step h2 { margin: 2px 0 9px; font: 750 22px/1.35 var(--font-display); letter-spacing: -.4px; }
.guide-step p { margin-bottom: 10px; color: #647168; font-size: 16px; line-height: 1.8; }
.guide-step p:last-child { margin-bottom: 0; }
.guide-aside { position: sticky; top: 20px; padding: 24px; border: 1px solid #e5eae4; border-radius: 8px; background: white; }
.guide-aside h2 { margin-bottom: 14px; font: 750 19px var(--font-display); }
.guide-aside ul { display: grid; gap: 9px; margin: 0 0 15px; padding-left: 20px; color: #526057; font-size: 14px; }
.guide-aside p { margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.seo-content-section { padding: 76px 0; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; background: #fff; }
.seo-content-grid { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 55px; }
.seo-content-grid h2 { max-width: 400px; margin-bottom: 0; font: 800 32px/1.22 var(--font-display); letter-spacing: -1px; }
.seo-copy p { margin: 0 0 16px; color: #5e6d63; font-size: 16px; line-height: 1.85; }
.seo-copy p:last-child { margin-bottom: 0; }
.audience-section { background: #f7f8f5; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audience-grid article { padding: 23px 24px; border: 1px solid #e8ece6; border-radius: 8px; background: white; }
.audience-grid h3 { margin-bottom: 8px; font: 750 17px/1.45 var(--font-display); }
.audience-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-section { padding: 78px 0 88px; background: white; }
.faq-layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 55px; }
.faq-heading h2 { margin-bottom: 11px; font: 800 32px/1.2 var(--font-display); letter-spacing: -.8px; }
.faq-heading > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-list { border-top: 1px solid #e5eae4; }
.faq-list details { padding: 17px 0; border-bottom: 1px solid #e5eae4; }
.faq-list summary { position: relative; padding-right: 28px; color: #2d4034; cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.5; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: '+'; position: absolute; right: 0; top: -1px; color: var(--green); font-size: 23px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::before { content: '−'; }
.faq-list details p { margin: 10px 0 0; color: #647168; font-size: 15px; line-height: 1.8; }
.content-page .free-callout { padding-top: 55px; padding-bottom: 55px; }
.content-page.rtl-page { font-family: var(--font-body); }
.rtl-page .site-home-label { letter-spacing: 0; }
.rtl-page .hero h1 { letter-spacing: 0; }
.rtl-page .content-hero h1, .rtl-page .section-heading h2, .rtl-page .free-callout h2, .rtl-page .guide-step h2, .rtl-page .seo-content-grid h2, .rtl-page .faq-heading h2 { letter-spacing: 0; }
.rtl-page .guide-aside ul { padding-right: 20px; padding-left: 0; }
.rtl-page .faq-list summary { padding-right: 0; padding-left: 28px; }
.rtl-page .faq-list summary::before { right: auto; left: 0; }
.rtl-page .hero-note .check-mark { margin-right: 0; margin-left: 6px; }
.rtl-page .trust-inner i { margin-right: 0; margin-left: 6px; }
.rtl-page .button-primary span { padding-left: 0; }

@media (max-width: 760px) {
    .content-hero { padding: 55px 0 58px; }
    .content-hero h1 { font-size: 39px; }
    .content-hero-inner > p:not(.eyebrow) { font-size: 16px; }
    .guide-layout, .seo-content-grid, .faq-layout { grid-template-columns: 1fr; gap: 27px; }
    .guide-aside { position: static; }
    .guide-step { grid-template-columns: 36px minmax(0, 1fr); gap: 13px; padding-bottom: 26px; }
    .guide-step > span { width: 32px; height: 32px; font-size: 12px; }
    .guide-step h2 { font-size: 19px; }
    .guide-step p, .seo-copy p { font-size: 15px; }
    .seo-content-section, .faq-section { padding: 55px 0; }
    .seo-content-grid h2, .faq-heading h2 { font-size: 28px; }
    .audience-grid { grid-template-columns: 1fr; }
    .faq-list summary { font-size: 15px; }
}

@media (min-width: 761px) and (max-width: 980px) {
    .site-nav { gap: 14px; font-size: 12px; }
    .site-nav .nav-cta { padding: 9px 11px; }
}

@media (max-width: 420px) {
    .site-nav .language-switch { padding: 0; }
}

@media (max-width: 760px) {
    body { font-size: 14px; }
    .header-inner { position: relative; min-height: 64px; flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
    .site-home-label { width: auto; justify-content: flex-start; }
    .site-home-label { padding: 3px 7px; border-radius: 8px; }
    .site-logo {  max-width: 75px; }
    .site-navigation { position: static; }
    .mobile-menu-toggle { min-height: 40px; display: none; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #dfe5df; border-radius: 6px; background: white; color: #34443a; cursor: pointer; font-size: 13px; font-weight: 650; }
    .menu-icon { width: 17px; display: grid; gap: 4px; }
    .menu-icon i { height: 2px; display: block; border-radius: 2px; background: currentColor; }
    .menu-enhanced .mobile-menu-toggle { display: inline-flex; }
    .site-nav { width: min(280px, calc(100vw - 28px)); display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 8px; border: 1px solid #e4e9e3; border-radius: 8px; background: white; box-shadow: 0 12px 30px rgba(28, 43, 37, .14); font-size: 14px; }
    .menu-enhanced:not([data-menu-open="true"]) .site-nav { display: none; }
    .site-nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; }
    .site-nav > a, .nav-logout button { min-height: 42px; display: flex; align-items: center; padding: 8px 10px; white-space: nowrap; }
    .site-nav .nav-cta { justify-content: space-between; margin-top: 4px; padding: 8px 10px; }
    .site-nav .language-switch { border: 0; }
    .nav-logout { padding: 0 10px; }
    .nav-logout button { padding: 8px 0; }
    .rtl-page .site-nav { right: auto; left: 0; }
    .hero h1 { font-size: clamp(34px, 9vw, 46px); letter-spacing: -1.5px; }
    .hero-description { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .hero-actions .button { width: 100%; min-height: 46px; }
    .hero-actions .text-link { padding: 7px 0; text-align: center; }
    .builder-heading h1 { font-size: 30px; }
    .content-hero h1 { font-size: 34px; }
    .content-hero-inner > p:not(.eyebrow), .guide-step p, .seo-copy p { font-size: 14px; }
    .section-heading > p:last-child, .audience-grid p { font-size: 13px; }
    .section-heading h2 { font-size: 26px; }
    .seo-content-grid h2, .faq-heading h2 { font-size: 25px; }
    .faq-list details p { font-size: 13px; }
    .rtl-page .site-nav { gap: 5px 10px; }
    .rtl-page .field select { padding: 10px 11px 10px 34px; background-position: 16px 50%, 11px 50%; }
    .cv-paper { padding: 30px 24px; }
    .cv-header { padding-bottom: 15px; }
    .cv-header h1 { font-size: 26px; }
    .cv-title { font-size: 13px; }
    .cv-contact { padding-top: 9px; font-size: 11px; }
    .cv-contact span { padding: 0 7px; }
    .cv-section { margin-top: 18px; }
    .cv-section h2 { margin-bottom: 8px; font-size: 13px; }
    .cv-summary, .cv-entry-description { font-size: 12px; line-height: 1.55; }
    .cv-entry-heading { align-items: flex-start; flex-direction: column; gap: 2px; font-size: 12px; }
    .cv-entry-heading span, .cv-entry-subtitle { font-size: 11px; }
    .cv-skill-list li { padding: 4px 7px; font-size: 10px; }
    .preview-pane .cv-paper { padding: 30px 20px; }
    .preview-actions { align-items: stretch; flex-direction: column; }
    .preview-actions .button { min-height: 42px; }
    .callout-actions { width: 100%; flex-direction: column; }
    .callout-actions .button { width: 100%; }
    .wizard-actions { display: flex; }
    .wizard-actions .button { min-width: 0; flex: 1 1 0; padding-right: 7px; padding-left: 7px; font-size: 12px; white-space: nowrap; }
    .wizard-step-count { flex: 0 0 auto; }
}

@media (max-width: 420px) {
    .container { width: min(100% - 28px, 580px); }
    .mobile-menu-toggle { min-height: 38px; padding: 0 9px; font-size: 12px; }
    .cv-paper { padding: 26px 18px; }
    .cv-header h1 { font-size: 23px; }
    .cv-contact { font-size: 10px; }
    .cv-summary, .cv-entry-description { font-size: 11px; }
    .cv-entry-heading { font-size: 11px; }
    .preview-pane .cv-paper { padding: 24px 16px; }
    .hero h1 { font-size: 34px; }
    .preview-actions .button { font-size: 12px; }
}

/* ==========================================================================
   My CVs dashboard
   ========================================================================== */

.my-cvs-container { padding: 48px 0 72px; }

.my-cvs-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.my-cvs-heading h1 { margin: 4px 0 0; font-size: 32px; letter-spacing: -.8px; }
.my-cvs-heading-actions { display: flex; align-items: center; gap: 12px; align-self: center; }
.my-cvs-add-button { white-space: nowrap; }

/* Plan badge */
.my-cvs-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.my-cvs-plan-badge.plan-free { background: var(--sand); color: var(--muted); border: 1px solid var(--line); }
.my-cvs-plan-badge.plan-pro  { background: var(--green); color: #fff; }

/* CV cards grid */
.cv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cv-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .15s, box-shadow .15s;
}
.cv-card:hover { border-color: var(--green); box-shadow: 0 4px 18px rgba(36,92,69,.08); }

.cv-card-preview {
    height: 240px;
    overflow: hidden;
    margin: -24px -24px 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #f1f5f0, #e6ede7);
}
.cv-card-preview-page {
    width: 75%;
    min-height: 220px;
    margin: 18px auto 0;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28,43,37,.08);
    filter: blur(1.2px);
}
.cv-card-preview-name { overflow: hidden; color: #34443a; font-size: 11px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.cv-card-preview-title { margin-top: 3px; color: #66746d; font-size: 8px; text-align: center; }
.cv-card-preview-section { margin-top: 14px; }
.cv-card-preview-heading, .cv-card-preview-line { display: block; border-radius: 2px; background: #dce5dc; }
.cv-card-preview-heading { width: 42%; height: 4px; margin-bottom: 7px; background: #7d9a83; }
.cv-card-preview-line { width: 100%; height: 3px; margin-top: 5px; background: #e3e8e3; }
.cv-card-preview-line.short { width: 68%; }

.cv-card-body { flex: 1; }
.cv-card-name  { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.cv-card-title { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.cv-card-meta  { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.6; }

.cv-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* New CV card */
.cv-card-new {
    border-style: dashed;
    color: var(--green);
    text-decoration: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}
.cv-card-new:hover { background: var(--mint); border-color: var(--green); box-shadow: none; }
.cv-card-new-icon { font-size: 32px; font-weight: 300; line-height: 1; color: var(--green); }

.cv-coming-soon-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); box-shadow: 0 18px 60px rgba(28,43,37,.2); }
.cv-coming-soon-dialog::backdrop { background: rgba(20,32,25,.48); backdrop-filter: blur(3px); }
.cv-coming-soon-content { padding: 30px; }
.cv-coming-soon-content .eyebrow { margin-bottom: 8px; }
.cv-coming-soon-content h2 { margin-bottom: 8px; font-size: 22px; }
.cv-coming-soon-content > p:not(.eyebrow) { margin-bottom: 20px; color: var(--muted); line-height: 1.6; }

/* Owner admin dashboard */
.admin-dashboard-container { padding: 48px 0 72px; }
.admin-dashboard-container .my-cvs-heading { margin-bottom: 26px; }
.admin-dashboard-container .my-cvs-heading h1 { margin-bottom: 8px; }
.admin-dashboard-intro { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.admin-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-summary-card { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 19px 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-summary-card span { color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-summary-card strong { color: var(--green); font-size: 28px; line-height: 1.2; }
.admin-dashboard-section { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-dashboard-section h2 { margin-bottom: 18px; font-size: 18px; }
.admin-dashboard-section h2 span { color: var(--muted); font-size: 12px; font-weight: 500; }
.admin-daily-list { display: grid; gap: 12px; }
.admin-daily-row { display: grid; grid-template-columns: 110px minmax(80px, 1fr) 42px; align-items: center; gap: 14px; font-size: 13px; }
.admin-daily-row time { color: var(--muted); }
.admin-daily-row strong { text-align: right; }
.admin-daily-bar { height: 9px; overflow: hidden; border-radius: 9px; background: var(--mint); }
.admin-daily-bar span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.admin-table th, .admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.admin-table td { overflow-wrap: anywhere; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-empty-state { padding: 18px 12px !important; color: var(--muted); text-align: center; }
.admin-dashboard-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.admin-login-form label { margin-bottom: -10px; font-size: 12px; font-weight: 600; }
.admin-login-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.admin-login-form input:focus { outline: 3px solid rgba(89, 134, 101, .2); border-color: var(--green); }
.admin-login-form .button { width: 100%; margin-top: 4px; }

/* Small button variant */
.button-sm { padding: 7px 14px; font-size: 12px; min-height: 0; }

/* Danger ghost button */
.button-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--muted); border-radius: 8px; cursor: pointer; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.button-ghost:hover { background: var(--sand); border-color: var(--muted); }
.button-ghost.button-danger:hover { background: #fff0f0; border-color: #d9534f; color: #d9534f; }

@media (max-width: 600px) {
    .my-cvs-heading { flex-direction: column; }
    .cv-cards-grid  { grid-template-columns: 1fr; }
    .admin-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-dashboard-section { padding: 18px 14px; }
    .admin-daily-row { grid-template-columns: 82px minmax(40px, 1fr) 30px; gap: 9px; font-size: 12px; }
}

@media print {
    .cv-paper { font-size: 11pt; line-height: 1.5; }
    .cv-header h1 { font-size: 24pt; line-height: 1.2; }
    .cv-title { font-size: 12pt; line-height: 1.4; }
    .cv-contact { font-size: 10pt; line-height: 1.5; }
    .cv-section h2 { font-size: 12pt; line-height: 1.3; }
    .cv-summary, .cv-entry-description { font-size: 11pt; line-height: 1.55; }
    .cv-entry-heading { font-size: 11pt; line-height: 1.4; }
    .cv-entry-heading span, .cv-entry-subtitle { font-size: 10pt; line-height: 1.4; }
    .cv-skill-list li { font-size: 10pt; line-height: 1.4; }
}
