/* Shared functional editors retain their own controls.
   This layer establishes a consistent, quieter WrkDocs navigation and brand. */
:root{--wrkdocs-paper:#f7f6f2;--wrkdocs-ink:#242a29;--wrkdocs-bronze:#94765b}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
/* Keep studio-specific dark editors' toolbars intact. Never hide engineering links. */
body header.header,body header.site-header,body header.site-head,body header.topbar{
 background:#f7f6f2!important;border-bottom:1px solid #ddd9d0!important;
 color:#242a29!important;box-shadow:none!important
}
body header.header .brand,body header.header .logo,
body header.site-header .brand,body header.site-header .logo,
body header.site-head .brand,body header.site-head .logo,
body header.topbar .brand,body header.topbar .logo{
 color:#292d2c!important;letter-spacing:-.04em;font-weight:720!important;text-shadow:none!important
}
body header.header .brand span,body header.header .logo span,
body header.site-header .brand span,body header.site-header .logo span,
body header.site-head .brand span,body header.site-head .logo span,
body header.topbar .brand span,body header.topbar .logo span{color:#987658!important}
body header.header a,body header.header nav a,body header.site-header a,body header.site-header nav a,
body header.site-head a,body header.site-head nav a,body header.topbar a,body header.topbar nav a{color:#444a46!important}
body header.header nav a:hover,body header.site-header nav a:hover,
body header.site-head nav a:hover,body header.topbar nav a:hover{color:#916f51!important}
body .tag,body .eyebrow,body .kicker{letter-spacing:.13em}
body a:focus-visible,body button:focus-visible,body input:focus-visible,
body select:focus-visible,body textarea:focus-visible{outline:2px solid #95795d;outline-offset:3px}
@media(max-width:640px){body header .brand,body header .logo{letter-spacing:-.055em!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}


/* Actual document applications: visual language aligned with editorial home,
   without touching their data handling, editors, canvas or export behaviors. */
body[data-tool]{--text:#2b302e;--muted:#747570;--line:#dfd9cf;--blue:#343b39;--pale:#f5f3ee;background:#f7f6f2;color:#303431}
body[data-tool] .hero h1{font-family:Georgia,serif;font-weight:400!important;letter-spacing:-.035em;color:#252b29}
body[data-tool] .tag{background:#ece6dc!important;color:#8b6b4f!important;border-radius:3px!important}
body[data-tool] .hero p{color:#6e706a!important}
body[data-tool] .privacy-chips span{background:#f2eee7;border-color:#e1d9cb;color:#665e54;border-radius:3px}
body[data-tool] .panel,body[data-tool] .tool-link{border-color:#ddd8ce!important;border-radius:8px!important;box-shadow:none!important}
body[data-tool] .tool-link:hover{border-color:#a48d75!important;background:#f6f2ec!important}
body[data-tool] .choose{background:#f2f0ea!important;border-color:#c1b6a6!important;border-radius:7px!important}
body[data-tool] .choose input::file-selector-button{background:#e0d7ca!important;color:#554537!important;border-radius:4px!important}
body[data-tool] .primary,body[data-tool] .btn.primary,body[data-tool] .btn.download{background:#2f3734!important;border-color:#2f3734!important;box-shadow:none!important;border-radius:6px!important;color:#fff!important}
body[data-tool] .primary:hover,body[data-tool] .btn.primary:hover,body[data-tool] .btn.download:hover{background:#4b544f!important}
body[data-tool] .field input,body[data-tool] .field select,body[data-tool] .field textarea{border-color:#d5cec3!important;color:#303631!important}
body[data-tool] .panel h2{font-family:Georgia,serif;font-weight:400!important;letter-spacing:-.03em}
body[data-tool="edit-pdf"]{background:#f7f6f2!important;color:#2b3531!important}
body[data-tool="edit-pdf"] .intro h1{color:#222c29!important}
body[data-tool="edit-pdf"] .intro h1 em{font-family:Georgia,serif;font-style:italic;color:#957557!important}
body[data-tool="edit-pdf"] .eyebrow{color:#8c7055!important}
body[data-tool="edit-pdf"] .editor-shell{border-color:#d9d2c7!important;box-shadow:0 15px 38px #5146350f!important}
body[data-tool="edit-pdf"] .sidepane,body[data-tool="edit-pdf"] .inspector{background:#f7f6f2!important}
body[data-tool="edit-pdf"] .tool.selected{background:#f2eadd!important;border-color:#b7a185!important;color:#604b38!important}
body[data-tool="edit-pdf"] .tool span{color:#8f7557!important}
body[data-wrkdocs-workspace]{--blue:#353d39;--ink:#29322f;--line:#ddd7cd;--wash:#f7f6f2;background:#f7f6f2!important}
body[data-wrkdocs-workspace] .pane{border-color:#ded8ce!important;box-shadow:none!important;border-radius:7px!important}
body[data-wrkdocs-workspace] .action.primary{background:#2e3834!important;border-color:#2e3834!important}
body[data-wrkdocs-workspace] .category.active{background:#2e3834!important}
body[data-wrkdocs-automation]{--ink:#2b302e;--muted:#77756e;--blue:#94765b;--line:#ddd8cf;--soft:#f7f6f2;background:#f7f6f2!important}
body[data-wrkdocs-automation] .hero h1 em{color:#987658!important}
body[data-wrkdocs-automation] .main-panel,body[data-wrkdocs-automation] .side-panel{border-color:#ddd8ce!important;border-radius:8px!important;box-shadow:none!important}
body[data-wrkdocs-automation] .dropzone{border-color:#bcae9e!important;background:#f2f0ea!important;border-radius:7px!important}
body[data-wrkdocs-automation] .btn.primary{background:#303935!important;border-color:#303935!important;box-shadow:none!important}
body[data-wrkdocs-automation] .hero-stats span{background:#ede7dc!important;color:#7a6049!important}

/* Accurate, task-specific answers below the Add Text PDF editor. */
body[data-tool="add-text-pdf"] .wrkdocs-context{border-top:1px solid #dfd8cf;margin-top:24px;padding-top:19px}
body[data-tool="add-text-pdf"] .wrkdocs-context h2{font:400 23px Georgia,serif;color:#2c302d;margin:18px 0 8px}
body[data-tool="add-text-pdf"] .wrkdocs-context p{font-size:13px;line-height:1.75;color:#64635f;margin:7px 0 14px}
body[data-tool="add-text-pdf"] .wrkdocs-context a{color:#856b50;text-decoration:underline;text-underline-offset:3px}
