:root {
  --manual-navy: #0d2645;
  --manual-navy-deep: #081a30;
  --manual-blue: #164f86;
  --manual-gold: #d7ad57;
  --manual-gold-light: #f4dfae;
  --manual-cream: #f7f4ed;
  --manual-paper: #fffefb;
  --manual-ink: #142338;
  --manual-muted: #607085;
  --manual-line: #dfe5eb;
  --manual-green: #18765b;
  --manual-amber: #a5620a;
  --manual-red: #a13b31;
  --manual-shadow: 0 18px 50px rgba(13, 38, 69, .09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; min-width: 320px; background: var(--manual-cream); color: var(--manual-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 10% 16%, rgba(215, 173, 87, .08), transparent 28%), radial-gradient(circle at 88% 62%, rgba(22, 79, 134, .07), transparent 30%); pointer-events: none; }
a { color: inherit; }
button, input { font: inherit; }
.manual-shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 3000; left: 16px; top: -80px; padding: 11px 16px; border-radius: 8px; background: white; color: var(--manual-navy); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.manual-hero { position: relative; overflow: hidden; padding: 80px 0 72px; color: white; background: linear-gradient(125deg, var(--manual-navy-deep), var(--manual-navy) 56%, #153f6c); }
.manual-hero::before { content: "CURY RJ"; position: absolute; right: -42px; bottom: -90px; color: rgba(255,255,255,.035); font-size: clamp(110px, 20vw, 290px); font-weight: 900; letter-spacing: -.08em; line-height: 1; white-space: nowrap; }
.manual-hero::after { content: ""; position: absolute; top: -180px; right: 8%; width: 520px; height: 520px; border: 1px solid rgba(215,173,87,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(215,173,87,.035), 0 0 0 140px rgba(215,173,87,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 62px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--manual-gold); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 82px); font-weight: 500; letter-spacing: -.045em; line-height: .96; }
.hero-copy h1 span { display: block; color: var(--manual-gold-light); }
.manager-context { display: inline-flex; margin: 0 0 14px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); color: #dbe6ef; font-size: 11px; font-weight: 750; }
.hero-lead { max-width: 720px; margin: 24px 0 0; color: #dce6ef; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 850; text-align: center; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--manual-gold); color: #172337; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.button-primary:hover { background: #e7c36f; }
.button-ghost { border-color: rgba(255,255,255,.33); background: rgba(255,255,255,.06); color: white; }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.12); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.hero-meta li { min-width: 130px; padding: 10px 13px; border-left: 2px solid rgba(215,173,87,.7); background: rgba(255,255,255,.04); }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { color: white; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hero-meta span { margin-top: 2px; color: #bfcddd; font-size: 12px; }
.hero-card { position: relative; display: grid; min-width: 0; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; padding: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.09); box-shadow: 0 22px 60px rgba(2,13,28,.28); backdrop-filter: blur(16px); }
.hero-card img { width: 78px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.card-kicker { margin: 0 0 6px; color: var(--manual-gold-light); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hero-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.12; }
.hero-card p:last-child { margin: 10px 0 0; color: #d8e2ec; font-size: 13px; line-height: 1.5; }

.manual-tools { position: sticky; z-index: 900; top: 0; border-bottom: 1px solid var(--manual-line); background: rgba(255,254,251,.94); box-shadow: 0 10px 28px rgba(13,38,69,.07); backdrop-filter: blur(14px); }
.apecury-header-ready .manual-tools { top: 104px; }
.tools-row { display: grid; grid-template-columns: minmax(300px, 1fr) auto auto; gap: 18px; align-items: center; min-height: 72px; }
.manual-search { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 13px; border: 1px solid #cbd5df; border-radius: 10px; background: white; }
.manual-search span[aria-hidden] { color: var(--manual-blue); font-size: 23px; line-height: 1; }
.manual-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--manual-ink); font-size: 14px; }
.manual-search:focus-within { border-color: var(--manual-blue); box-shadow: 0 0 0 3px rgba(22,79,134,.12); }
.search-status { margin: 0; color: var(--manual-muted); font-size: 12px; white-space: nowrap; }
.print-button { padding: 10px 14px; border: 1px solid var(--manual-navy); border-radius: 9px; background: var(--manual-navy); color: white; cursor: pointer; font-size: 12px; font-weight: 800; }
.print-button:hover { background: var(--manual-blue); }
.mobile-summary { display: none; }

.manual-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 54px; padding-top: 56px; padding-bottom: 110px; }
.manual-sidebar { min-width: 0; }
.toc { position: sticky; top: 96px; overflow: hidden; padding: 16px; border: 1px solid var(--manual-line); border-radius: 16px; background: rgba(255,254,251,.85); box-shadow: var(--manual-shadow); }
.toc > p { margin: 3px 8px 12px; color: var(--manual-muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; padding: 9px 8px; border-radius: 8px; color: #41536a; font-size: 12px; font-weight: 730; line-height: 1.25; text-decoration: none; }
.toc a span { color: #9aa7b5; font-size: 10px; font-weight: 900; }
.toc a:hover, .toc a.is-active { background: #edf3f8; color: var(--manual-navy); }
.toc a.is-active span { color: var(--manual-blue); }
.manual-content { min-width: 0; }
.guide-section { padding: 0 0 72px; margin-bottom: 72px; border-bottom: 1px solid #d6dde5; scroll-margin-top: 150px; }
.guide-section[hidden] { display: none !important; }
.guide-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.section-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.section-number { display: inline-grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #c7d2dd; border-radius: 50%; background: var(--manual-paper); color: var(--manual-blue); font-size: 12px; font-weight: 900; }
.section-heading .eyebrow { margin-bottom: 3px; color: var(--manual-blue); }
.section-heading h2 { margin: 0; color: var(--manual-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 49px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.section-intro { max-width: 820px; margin: 0 0 28px; color: #50627a; font-size: 17px; line-height: 1.7; }
.section-heading-split { justify-content: space-between; align-items: center; }
.heading-group { display: flex; gap: 18px; align-items: flex-start; }
.text-link { color: var(--manual-blue); font-size: 13px; font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini-card { padding: 20px; border: 1px solid var(--manual-line); border-radius: 14px; background: var(--manual-paper); box-shadow: 0 10px 24px rgba(13,38,69,.045); }
.mini-card strong { display: block; color: var(--manual-navy); font-size: 15px; }
.mini-card p { margin: 8px 0 0; color: var(--manual-muted); font-size: 13px; }
.status-panel { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 19px; border: 1px solid; border-radius: 14px; }
.status-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; font-weight: 900; }
.status-panel h3 { margin: 0; font-size: 15px; }
.status-panel p { margin: 5px 0 0; font-size: 13px; }
.status-attention { border-color: #e7c781; background: #fff9e9; color: #684714; }
.status-attention .status-icon { background: #f3d88f; color: #56370a; }
.status-review { border-color: #f0c2bb; background: #fff3f1; color: #743229; }
.status-review .status-icon { background: #f3c8c1; color: #7d2b21; }
.status-good { border-color: #9dccbd; background: #eff9f5; color: #245b49; }
.status-good .status-icon { background: #bde2d4; color: #16523d; }
.do-not-use, .pending-box { margin-top: 14px; padding: 15px 17px; border-left: 4px solid var(--manual-red); background: rgba(255,255,255,.72); color: #6f3a35; font-size: 13px; }
.pending-box { border-left-color: var(--manual-amber); color: #6f4a20; }

.calculator-card { margin-top: 24px; padding: 24px; border: 1px solid #b9cbd9; border-radius: 18px; background: linear-gradient(145deg, #f8fbfd, #edf4f8); box-shadow: var(--manual-shadow); }
.calculator-direct { border-color: #ddca9d; background: linear-gradient(145deg, #fffdf8, #f7f0df); }
.calculator-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 20px; }
.calculator-heading .eyebrow { margin-bottom: 3px; color: var(--manual-blue); }
.calculator-heading h3 { margin: 0; color: var(--manual-navy); font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.calculator-heading p:last-child { max-width: 670px; margin: 7px 0 0; color: var(--manual-muted); font-size: 12px; }
.preset-buttons { display: flex; flex: 0 0 auto; gap: 7px; }
.preset-buttons button, .reset-calculator { padding: 8px 10px; border: 1px solid #b8c7d4; border-radius: 8px; background: white; color: var(--manual-navy); cursor: pointer; font-size: 10px; font-weight: 850; }
.preset-buttons button:hover, .reset-calculator:hover { border-color: var(--manual-blue); color: var(--manual-blue); }
.calculator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.calculator-grid label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: var(--manual-navy); font-size: 11px; font-weight: 850; }
.calculator-grid label > span { min-height: 16px; color: var(--manual-muted); font-size: 9px; font-weight: 650; }
.calculator-grid input { width: 100%; min-width: 0; padding: 11px 10px; border: 1px solid #c3d0da; border-radius: 8px; outline: 0; background: white; color: var(--manual-ink); font-size: 14px; font-weight: 750; }
.calculator-grid input:focus { border-color: var(--manual-blue); box-shadow: 0 0 0 3px rgba(22,79,134,.1); }
.calculator-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 17px; }
.calculator-results-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.calculator-results > div { min-width: 0; padding: 13px; border: 1px solid rgba(13,38,69,.09); border-radius: 10px; background: white; }
.calculator-results span, .calculator-results strong { display: block; }
.calculator-results span { color: var(--manual-muted); font-size: 9px; font-weight: 750; }
.calculator-results strong { margin-top: 4px; overflow-wrap: anywhere; color: var(--manual-navy); font-size: 15px; }
.calculator-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #dff2ea; color: #1d634c; font-size: 11px; font-weight: 800; }
.calculator-status.is-warning { background: #fff0d5; color: #7b520d; }
.calculator-status.is-error { background: #fbe3df; color: #83392f; }
.calculator-disclaimer { margin: 10px 0 0; color: #728195; font-size: 9px; line-height: 1.5; }
.worked-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.worked-examples article { padding: 18px; border: 1px solid var(--manual-line); border-radius: 12px; background: var(--manual-paper); }
.worked-examples article > span { color: var(--manual-blue); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.worked-examples h3 { margin: 5px 0 7px; color: var(--manual-navy); font-size: 15px; }
.worked-examples p { margin: 0; color: var(--manual-muted); font-size: 12px; }

.process-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; padding: 13px 16px; border: 1px solid var(--manual-line); border-radius: 12px; background: var(--manual-paper); }
.process-list li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #e8f0f7; color: var(--manual-blue); font-size: 12px; font-weight: 900; }
.process-list strong { color: var(--manual-navy); font-size: 14px; }
.process-list p { margin: 2px 0 0; color: var(--manual-muted); font-size: 12px; }
.table-card { overflow: hidden; margin-top: 24px; border: 1px solid #cbd7e2; border-radius: 17px; background: var(--manual-paper); box-shadow: var(--manual-shadow); }
.table-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--manual-line); background: #edf4f9; }
.table-head .eyebrow { margin-bottom: 2px; color: var(--manual-blue); }
.table-head h3 { margin: 0; color: var(--manual-navy); font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.table-head > span { flex: 0 0 auto; padding: 6px 9px; border-radius: 99px; background: white; color: var(--manual-blue); font-size: 10px; font-weight: 850; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { padding: 14px 17px; border-bottom: 1px solid #e4e9ee; text-align: left; vertical-align: top; }
th { background: #fafbfc; color: #53657a; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
td { color: #43566c; font-size: 12px; }
td strong { color: var(--manual-navy); }
.table-note { margin: 0; padding: 14px 20px; color: var(--manual-muted); font-size: 11px; }
.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.answer-card { padding: 20px; border: 1px solid var(--manual-line); border-radius: 14px; background: var(--manual-paper); }
.answer-card > span { color: var(--manual-blue); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.answer-card h3 { margin: 6px 0 7px; color: var(--manual-navy); font-size: 16px; }
.answer-card p { margin: 0; color: var(--manual-muted); font-size: 13px; }

.direct-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.direct-flow article { padding: 18px; border-top: 3px solid var(--manual-gold); border-radius: 10px; background: var(--manual-paper); box-shadow: 0 9px 24px rgba(13,38,69,.05); }
.direct-flow article > span { color: #a27c2d; font-size: 10px; font-weight: 900; }
.direct-flow h3 { margin: 12px 0 7px; color: var(--manual-navy); font-size: 14px; }
.direct-flow p { margin: 0; color: var(--manual-muted); font-size: 12px; }
.review-list { display: grid; gap: 9px; margin-top: 20px; }
.review-list > div { display: grid; grid-template-columns: 94px 1fr; gap: 13px; align-items: center; padding: 12px 14px; border: 1px solid #e5d2ac; border-radius: 10px; background: #fffbf2; }
.review-list span { padding: 5px 7px; border-radius: 6px; background: #f0dab0; color: #734e0d; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.review-list p { margin: 0; color: #695b43; font-size: 12px; }
.talk-track { margin-top: 20px; padding: 22px; border-radius: 15px; background: var(--manual-navy); color: white; }
.talk-track .eyebrow { margin-bottom: 5px; }
.talk-track blockquote { margin: 0; font-family: Georgia, serif; font-size: 20px; line-height: 1.45; }

.document-tabs { overflow: hidden; border: 1px solid var(--manual-line); border-radius: 17px; background: var(--manual-paper); box-shadow: var(--manual-shadow); }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; border-bottom: 1px solid var(--manual-line); background: #edf3f8; }
.tab-list button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: #5e7084; cursor: pointer; font-size: 13px; font-weight: 850; }
.tab-list button[aria-selected="true"] { background: white; color: var(--manual-navy); box-shadow: 0 5px 14px rgba(13,38,69,.09); }
[data-tab-panel] { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(300px, 1.2fr); gap: 30px; padding: 26px; }
[data-tab-panel][hidden] { display: none; }
.document-panel-copy > span { color: var(--manual-blue); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.document-panel-copy h3 { margin: 6px 0 8px; color: var(--manual-navy); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.document-panel-copy p { margin: 0; color: var(--manual-muted); font-size: 13px; }
.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 12px 10px 39px; border: 1px solid #e1e7ec; border-radius: 8px; color: #43566b; font-size: 13px; }
.check-list li::before { content: "✓"; position: absolute; left: 12px; top: 9px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #dcefe8; color: var(--manual-green); font-size: 10px; font-weight: 900; }
.general-notes { margin-top: 18px; padding: 22px; border: 1px solid var(--manual-line); border-radius: 14px; background: rgba(255,255,255,.7); }
.general-notes h3 { margin: 0 0 10px; color: var(--manual-navy); font-size: 16px; }
.general-notes ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: var(--manual-muted); font-size: 13px; }

.fgts-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fgts-rules article { padding: 18px; border: 1px solid #c9dfd7; border-radius: 13px; background: #f5fbf8; }
.fgts-rules article > span { color: var(--manual-green); font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.fgts-rules h3 { margin: 9px 0 6px; color: #184d3c; font-size: 14px; }
.fgts-rules p { margin: 0; color: #527066; font-size: 12px; }
.quiz-block { margin-top: 24px; }
.subheading h3 { margin: 0 0 14px; color: var(--manual-navy); font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.quiz-block details, .faq-list details, .restriction-list details { margin-bottom: 9px; border: 1px solid var(--manual-line); border-radius: 11px; background: var(--manual-paper); }
.quiz-block summary, .faq-list summary, .restriction-list summary { position: relative; padding: 16px 46px 16px 17px; color: var(--manual-navy); cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.quiz-block summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker, .restriction-list summary::-webkit-details-marker { display: none; }
.quiz-block summary::after, .faq-list summary::after, .restriction-list summary::after { content: "+"; position: absolute; top: 50%; right: 17px; transform: translateY(-50%); color: var(--manual-blue); font-size: 21px; font-weight: 500; }
.quiz-block details[open] summary::after, .faq-list details[open] summary::after, .restriction-list details[open] summary::after { content: "−"; }
.quiz-block details > p, .faq-list details > p, .restriction-list details > p { margin: 0; padding: 0 17px 17px; color: var(--manual-muted); font-size: 13px; }

.three-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.three-steps > div { position: relative; padding: 18px 18px 18px 54px; border-radius: 12px; background: var(--manual-navy); color: white; }
.three-steps span { position: absolute; left: 16px; top: 18px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--manual-gold); color: var(--manual-navy); font-size: 10px; font-weight: 900; }
.three-steps strong { font-size: 14px; }
.three-steps p { margin: 4px 0 0; color: #c8d6e3; font-size: 11px; }
.restriction-list summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.restriction-list summary small { margin-right: 18px; color: var(--manual-blue); font-size: 10px; }
.glossary { margin-top: 23px; padding: 22px; border-radius: 15px; background: #eaf1f7; }
.glossary h3 { margin: 0 0 14px; color: var(--manual-navy); font-size: 16px; }
.glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.glossary dl > div { padding: 12px; border-radius: 9px; background: white; }
.glossary dt { color: var(--manual-navy); font-size: 12px; font-weight: 850; }
.glossary dd { margin: 3px 0 0; color: var(--manual-muted); font-size: 11px; }

.faq-list { columns: 2; column-gap: 12px; }
.faq-list details { break-inside: avoid; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.property-loading, .property-error { grid-column: 1 / -1; padding: 28px; border: 1px dashed #bdc9d5; border-radius: 13px; color: var(--manual-muted); text-align: center; }
.property-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--manual-line); border-radius: 15px; background: var(--manual-paper); box-shadow: 0 12px 30px rgba(13,38,69,.07); }
.property-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe7ed; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.property-card:hover .property-image img { transform: scale(1.035); }
.property-region { position: absolute; left: 11px; bottom: 11px; padding: 5px 8px; border-radius: 6px; background: rgba(8,26,48,.84); color: white; font-size: 9px; font-weight: 850; }
.property-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.property-body h3 { margin: 0; color: var(--manual-navy); font-size: 17px; line-height: 1.2; }
.property-body > p { margin: 8px 0 0; color: var(--manual-muted); font-size: 12px; }
.property-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.property-tags span { padding: 5px 7px; border-radius: 6px; background: #edf3f7; color: #496076; font-size: 9px; font-weight: 750; }
.property-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 16px; }
.property-actions a { display: flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #bbc8d4; border-radius: 8px; color: var(--manual-navy); font-size: 10px; font-weight: 850; text-align: center; text-decoration: none; }
.property-actions a:last-child { border-color: var(--manual-blue); background: var(--manual-blue); color: white; }
.noscript-note { padding: 16px; border: 1px solid var(--manual-line); border-radius: 10px; }
.team-portal-card { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px; border: 1px solid #dec47e; border-radius: 17px; background: linear-gradient(130deg, #11120f, #202016); color: white; box-shadow: var(--manual-shadow); }
.team-portal-card img { width: 82px; height: 82px; object-fit: contain; }
.team-portal-card .eyebrow { margin-bottom: 3px; }
.team-portal-card h3 { margin: 0; color: #fff8e6; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.team-portal-card p:last-child { margin: 7px 0 0; color: #c7c1af; font-size: 12px; }

.contact-section { padding-bottom: 42px; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 30px; border-radius: 20px; background: linear-gradient(125deg, var(--manual-navy-deep), var(--manual-navy)); color: white; box-shadow: var(--manual-shadow); }
.contact-label { margin: 0 0 6px; color: var(--manual-gold); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-card h3 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.contact-card p:not(.contact-label) { max-width: 680px; margin: 10px 0 0; color: #cbd8e4; font-size: 13px; }
.button-whatsapp { min-width: 210px; background: #23b469; color: #062c1a; }
.button-whatsapp:hover { background: #35ca7b; }
.button-whatsapp.is-disabled, .quick-contact a.is-disabled { border-color: rgba(255,255,255,.18); background: #738094; color: #edf1f4; cursor: not-allowed; transform: none; }
.link-builder { margin-top: 18px; border: 1px solid #c6d1db; border-radius: 14px; background: white; }
.link-builder summary { padding: 15px 18px; color: var(--manual-navy); cursor: pointer; font-size: 13px; font-weight: 850; }
.link-builder-body { padding: 0 18px 18px; }
.link-builder-body > p { margin: 0 0 14px; color: var(--manual-muted); font-size: 11px; }
.link-builder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.link-builder-grid label, .generated-link-label { display: flex; flex-direction: column; gap: 5px; color: var(--manual-navy); font-size: 11px; font-weight: 800; }
.link-builder-grid label span { color: var(--manual-muted); font-size: 9px; font-weight: 600; }
.link-builder-grid input, .link-builder-grid select, .generated-link-label input { min-width: 0; padding: 10px; border: 1px solid #c7d2dc; border-radius: 8px; outline: 0; color: var(--manual-ink); background: white; font-size: 12px; }
.link-builder-grid input:focus, .link-builder-grid select:focus { border-color: var(--manual-blue); box-shadow: 0 0 0 3px rgba(22,79,134,.1); }
.training-journey { padding: 20px 0; background: #eaf0f5; }
.training-journey-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 12px; align-items: stretch; }
.training-journey-intro { align-self: center; max-width: 220px; padding-right: 12px; }
.training-journey-intro strong, .training-journey-intro span { display: block; }
.training-journey-intro strong { color: var(--manual-navy); }
.training-journey-intro span { margin-top: 3px; color: var(--manual-muted); font-size: 10px; }
.training-journey-card { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 15px; border: 1px solid #cbd7e1; border-radius: 12px; background: white; text-decoration: none; }
.training-journey-card > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--manual-navy); color: var(--manual-gold-light); font-size: 11px; font-weight: 900; }
.training-journey-card strong, .training-journey-card small { display: block; }
.training-journey-card strong { color: var(--manual-navy); font-size: 12px; }
.training-journey-card small { color: var(--manual-muted); font-size: 9px; }
.training-journey-card.is-current { border-color: var(--manual-gold); box-shadow: inset 0 0 0 1px var(--manual-gold); }
.link-builder-actions { display: flex; gap: 8px; margin-top: 12px; }
.link-builder-actions button { padding: 9px 13px; border: 1px solid var(--manual-navy); border-radius: 8px; background: var(--manual-navy); color: white; cursor: pointer; font-size: 10px; font-weight: 850; }
.link-builder-actions button:disabled { border-color: #b8c0c9; background: #d5dbe0; color: #778391; cursor: not-allowed; }
.internal-generator { max-width: 820px; padding-block: 48px 80px; }
.internal-generator-heading { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; padding: 28px; border-radius: 20px; background: var(--manual-navy); color: white; box-shadow: var(--manual-shadow); }
.internal-generator-heading img { width: 72px; height: auto; }
.internal-generator-heading h1 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 7vw, 52px); font-weight: 500; line-height: 1; }
.internal-generator-heading p:last-child { margin: 0; color: #d9e3ee; }
.link-builder-standalone { margin-top: 20px; }
.link-builder-standalone .link-builder-body { padding-top: 18px; }
.generated-link-label { margin-top: 10px; }
.generated-link-label input { background: #f5f7f9; color: #55667a; }
.builder-status { min-height: 16px; margin: 7px 0 0; color: var(--manual-green); font-size: 10px; }
.source-box { margin-top: 22px; padding: 22px; border: 1px solid var(--manual-line); border-radius: 14px; background: rgba(255,255,255,.68); }
.source-box h3 { margin: 0; color: var(--manual-navy); font-size: 15px; }
.source-box p { margin: 5px 0 12px; color: var(--manual-muted); font-size: 11px; }
.source-box ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.source-box a { display: inline-flex; padding: 7px 9px; border: 1px solid #cbd7e2; border-radius: 7px; background: white; color: var(--manual-blue); font-size: 10px; font-weight: 800; text-decoration: none; }
.source-box a:hover { border-color: var(--manual-blue); }

.quick-contact { position: fixed; z-index: 1200; left: 50%; bottom: 14px; display: flex; width: min(720px, calc(100% - 28px)); justify-content: space-between; gap: 18px; align-items: center; padding: 12px 13px 12px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(8,26,48,.96); color: white; box-shadow: 0 18px 50px rgba(5,18,35,.35); backdrop-filter: blur(14px); transform: translateX(-50%); }
.quick-contact strong, .quick-contact span { display: block; }
.quick-contact strong { font-size: 12px; }
.quick-contact span { color: #bdcbd9; font-size: 10px; }
.quick-contact a { flex: 0 0 auto; padding: 10px 13px; border-radius: 8px; background: #25b86d; color: #07341e; font-size: 11px; font-weight: 900; text-decoration: none; }
.manual-footer { padding: 34px 0 90px; border-top: 1px solid var(--manual-line); background: #e8edf1; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { display: flex; gap: 11px; align-items: center; }
.footer-brand img { width: 42px; height: auto; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--manual-navy); font-size: 13px; }
.footer-brand span { color: var(--manual-muted); font-size: 10px; }
.manual-footer p { max-width: 650px; margin: 0; color: var(--manual-muted); font-size: 10px; text-align: right; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 640px; }
  .manual-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 30px; }
  .direct-flow, .fgts-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 94px; }
  .manual-shell { width: min(100% - 28px, 1220px); }
  .apecury-header-ready .manual-tools { top: 92px; }
  .manual-hero { padding: 58px 0 48px; }
  .hero-copy h1 { font-size: clamp(43px, 12vw, 66px); }
  .hero-card { grid-template-columns: 64px 1fr; padding: 20px; }
  .hero-card img { width: 58px; }
  .tools-row { grid-template-columns: 1fr auto; gap: 9px; min-height: 64px; }
  .search-status { display: none; }
  .print-button { padding: 9px 10px; font-size: 0; }
  .print-button::after { content: "PDF"; font-size: 11px; }
  .manual-search input { font-size: 12px; }
  .mobile-summary { display: block; margin-top: 16px; border: 1px solid var(--manual-line); border-radius: 12px; background: white; }
  .mobile-summary summary { padding: 13px 15px; color: var(--manual-navy); cursor: pointer; font-size: 13px; font-weight: 850; }
  .mobile-summary nav { display: grid; padding: 0 14px 14px; }
  .mobile-summary a { padding: 8px 0; border-top: 1px solid #edf0f3; color: #52667b; font-size: 12px; text-decoration: none; }
  .manual-layout { display: block; padding-top: 40px; }
  .manual-sidebar { display: none; }
  .guide-section { padding-bottom: 55px; margin-bottom: 55px; scroll-margin-top: 98px; }
  .benefit-grid, .answer-grid { grid-template-columns: 1fr; }
  .table-head { display: block; }
  .table-head > span { display: inline-flex; margin-top: 10px; }
  [data-tab-panel] { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .three-steps { grid-template-columns: 1fr; }
  .faq-list { columns: 1; }
  .contact-card { grid-template-columns: 1fr; padding: 24px; }
  .button-whatsapp { width: 100%; }
  .calculator-heading { display: block; }
  .preset-buttons { margin-top: 13px; }
  .calculator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-results, .calculator-results-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-results-five > div:last-child { grid-column: 1 / -1; }
  .team-portal-card { grid-template-columns: 72px 1fr; }
  .team-portal-card img { width: 64px; height: 64px; }
  .team-portal-card .button { grid-column: 1 / -1; }
  .footer-row { display: block; }
  .manual-footer p { margin-top: 16px; text-align: left; }
}

@media (max-width: 540px) {
  .training-journey-grid { grid-template-columns: 1fr; }
  .training-journey-intro { max-width: none; }
  .internal-generator { padding-block: 24px 48px; }
  .internal-generator-heading { display: block; padding: 22px; }
  .internal-generator-heading img { width: 52px; margin-bottom: 16px; }
  .manual-hero::before { display: none; }
  .manual-hero { padding: 34px 0 38px; }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .manager-context { margin-bottom: 11px; }
  .hero-actions { display: grid; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-meta li:last-child { grid-column: 1 / -1; }
  .section-heading { gap: 12px; }
  .section-number { width: 40px; height: 40px; flex-basis: 40px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading-split { display: block; }
  .section-heading-split .text-link { display: inline-block; margin: 13px 0 0 52px; }
  .direct-flow, .fgts-rules, .property-grid { grid-template-columns: 1fr; }
  .review-list > div { grid-template-columns: 1fr; }
  .tab-list button { font-size: 11px; }
  .glossary dl { grid-template-columns: 1fr; }
  .restriction-list summary small { display: none; }
  .property-actions { grid-template-columns: 1fr; }
  .calculator-card { padding: 18px 14px; }
  .calculator-heading h3 { font-size: 24px; }
  .calculator-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .calculator-results, .calculator-results-five { grid-template-columns: 1fr 1fr; }
  .worked-examples { grid-template-columns: 1fr; }
  .link-builder-grid { grid-template-columns: 1fr; }
  .link-builder-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .team-portal-card { display: block; text-align: center; }
  .team-portal-card img { margin: 0 auto 12px; }
  .team-portal-card .button { width: 100%; margin-top: 16px; }
  .quick-contact div { display: none; }
  .quick-contact a { width: 100%; text-align: center; }
}

@media print {
  @page { margin: 13mm; }
  body { background: white; color: #111; font-size: 10pt; }
  body::before, .apecury-unified-header, .manual-tools, .mobile-summary, .manual-sidebar, .hero-actions, .quick-contact, .button-whatsapp, .property-actions, .print-button { display: none !important; }
  .apecury-header-ready { padding-top: 0 !important; }
  .manual-shell { width: 100%; }
  .manual-hero { padding: 20px 0; background: white; color: #111; border-bottom: 2px solid #111; }
  .manual-hero::before, .manual-hero::after { display: none; }
  .hero-grid { display: block; }
  .hero-copy h1, .hero-copy h1 span { color: #111; font-size: 34pt; }
  .hero-lead { color: #333; }
  .hero-meta { margin-top: 16px; }
  .hero-meta li { background: white; color: #111; }
  .hero-meta span { color: #444; }
  .hero-card { margin-top: 16px; border-color: #888; background: white; color: #111; box-shadow: none; }
  .hero-card p:last-child { color: #333; }
  .manual-layout { display: block; padding: 20px 0; }
  .guide-section { break-inside: avoid; padding: 0 0 18px; margin: 0 0 22px; }
  .section-heading h2 { color: #111; font-size: 24pt; }
  .mini-card, .answer-card, .table-card, .document-tabs, .property-card { box-shadow: none; }
  .faq-list { columns: 1; }
  details > * { display: block !important; }
  details summary::after { display: none; }
  .manual-footer { padding: 20px 0; background: white; }
}
