/* Own website workspace chrome. Output documents, canvases and print media remain unthemed. */
:root{--rts-bg:#f6f6ff!important;--rts-panel:#ffffff!important;--rts-line:#d9ddf7!important;--rts-text:#1c1a5e!important;--rts-mute:#4f6290!important;--rts-red:#4338ca!important}
@media screen{
html{background:var(--rts-bg)!important}body.rts-own-workspace{background:var(--rts-bg)!important;color:var(--rts-text)!important;font-family:"Noto Sans","Noto Sans Devanagari",system-ui,sans-serif!important;margin:0!important;min-height:100vh!important}
.rts-own-workspace>.rts-workspace-nav{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;padding:14px clamp(14px,4vw,40px)!important;border-bottom:1px solid var(--rts-line)!important;background:#f0f0ff!important;color:var(--rts-text)!important;font-size:14px!important;position:relative!important;z-index:2!important}
.rts-workspace-nav a{color:var(--rts-text)!important;text-decoration:none!important}.rts-workspace-nav .rts-brand{font-size:17px!important;font-weight:800!important}.rts-workspace-nav .rts-brand span{color:var(--rts-red)!important}.rts-workspace-nav .rts-back{border:1px solid var(--rts-line)!important;border-radius:9px!important;padding:7px 11px!important}.rts-workspace-nav .rts-workspace-kind{color:var(--rts-mute)!important;font-size:12px!important}
.rts-own-workspace>main,.rts-own-workspace>.ref-shell,.rts-own-workspace>.workspace{margin:22px auto!important;max-width:1200px!important}
.rts-own-workspace :is(.panel,.form-panel,.output-panel,.card,.box,.job,.smart-panel,.spane,.ref-toolrail,.ref-topbar,.options,.notice,.intro,.toolbar,.cafe-hero,.rts-hero,.ref-tips,.tabs,.modes,.formStage,.result){background:var(--rts-panel)!important;color:var(--rts-text)!important;border-color:var(--rts-line)!important;box-shadow:none!important}
.rts-own-workspace :is(h1,h2,h3,label,summary,.title,.brand-title,.panel-heading){color:var(--rts-text)!important}
.rts-own-workspace :is(.muted,.hint,.note,.small,.privacy-note,.prototype-note,.sub,.rts-trust,.status){color:var(--rts-mute)!important}
.rts-own-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea){background:#f0f0ff!important;color:var(--rts-text)!important;border:1px solid #b6cce7!important;border-radius:8px!important;max-width:100%!important;min-width:0!important}
.rts-own-workspace :is(button,.btn){border-radius:9px!important;border-color:#b6cce7!important;box-shadow:none!important}
.rts-own-workspace :is(button.primary,.btn:not(.alt):not(.secondary),button.on,.tab.on,.modes .on){background:var(--rts-red)!important;color:#fff!important;border-color:var(--rts-red)!important}
.rts-own-workspace :is(button.secondary,.btn.alt,.btn.secondary){background:#e3efff!important;color:var(--rts-text)!important}
.rts-own-workspace :is(.drop,.choose){background:#f0f0ff!important;color:var(--rts-text)!important;border-color:#b6cce7!important;border-radius:14px!important}
.rts-own-workspace :focus-visible{outline:2px solid var(--rts-red)!important;outline-offset:3px!important}
.rts-own-workspace :disabled{opacity:.5!important;cursor:not-allowed!important}
.rts-own-workspace .rts-workspace-nav a:hover{border-color:var(--rts-red)!important}
@media(max-width:600px){.rts-workspace-nav .rts-workspace-kind{display:none!important}.rts-own-workspace>main{margin:16px auto!important;padding-left:12px!important;padding-right:12px!important}.rts-workspace-nav .rts-brand{font-size:15px!important}}
}
@media print{.rts-workspace-nav{display:none!important}}
@media screen{
body.rts-own-workspace{border:0!important;border-radius:0!important;max-width:none!important;width:auto!important;padding-top:0!important}
body.rts-own-workspace>header:not(.rts-workspace-nav),body.rts-own-workspace>.ref-brandbar,.rts-own-workspace .ref-window-dots,.rts-own-workspace .ref-rail{display:none!important}
body.rts-own-workspace>.rts-workspace-nav{display:flex!important;width:100%!important;height:auto!important;min-height:58px!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;border-radius:0!important}
.rts-own-workspace .rts-workspace-nav a{width:auto!important;height:auto!important;position:static!important;display:inline-block!important;border-radius:8px!important;font-size:14px!important;line-height:1.4!important;flex:none!important;background:transparent!important;color:#1c1a5e!important;white-space:nowrap!important}
.rts-own-workspace .rts-workspace-nav .rts-brand{font-size:17px!important;max-width:none!important}.rts-own-workspace .rts-workspace-nav .rts-brand span{color:#4338ca!important}
.rts-own-workspace :is(.ref-app,.ref-content,.ref-workspace,.ref-main,.ref-panel,.ref-card,.ref-stage,.ref-header,.ref-page-title,.ref-tabs,.ref-top,.ref-form,.ref-preview-panel,.ref-pane,.resume-form,.invoice-form){background:#ffffff!important;color:#1c1a5e!important;border-color:#d9ddf7!important;box-shadow:none!important}
.rts-own-workspace .ref-app{display:block!important;max-width:1200px!important;margin:20px auto!important;border-radius:14px!important;padding:16px!important}
.rts-own-workspace :is(.ref-app .card,.ref-app details,.ref-app fieldset,.ref-app section,.ref-app .g,.ref-app .row,.ref-app .tp,.ref-app .tabs,.ref-app .ref-topbar){background:#ffffff!important;border-color:#d9ddf7!important;color:#1c1a5e!important}
.rts-own-workspace :is(.ref-app p,.ref-app small,.ref-app summary,.ref-app label,.ref-app h2,.ref-app h3,.ref-app legend){color:#365370!important}
.rts-own-workspace :is(.ref-app button,.ref-app .btn,.ref-toolrail button){background:#e3efff!important;color:#1c1a5e!important;border-color:#b6cce7!important}
.rts-own-workspace :is(.ref-app button.on,.ref-app .btn.on,.ref-toolrail button.on){background:#4338ca!important;color:white!important}
.rts-own-workspace .ref-shell{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;max-width:100%!important;width:100%!important;gap:0!important}
.rts-own-workspace .ref-topbar{flex-wrap:wrap!important;height:auto!important;min-width:0!important}
.rts-own-workspace main{min-width:0!important;width:100%!important}.rts-own-workspace .ref-center{min-width:0!important;max-width:100%!important;overflow:auto!important}
.rts-own-workspace .ref-toolrail{min-width:0!important;width:64px!important}.rts-own-workspace .ref-toolrail button{width:60px!important}
.rts-own-workspace .ref-app :is(.ref-heading,.ref-title,.ref-tabbar){background:#ffffff!important;color:#1c1a5e!important}
}
@media screen{
.rts-own-workspace :is(.ref-form-heading,.ref-output,.ref-text-panel,.edr,.education-row,.it,.invoice-ref-footer,.scanner-ref-panel){background:#ffffff!important;color:#1c1a5e!important;border-color:#d9ddf7!important}
.rts-own-workspace .ref-app :is(.education,.edu-row,.education-row,.edrow,.edu,.qual-row){background:#ffffff!important;color:#1c1a5e!important}
.rts-own-workspace :is(.ref-form-heading h2,.ref-output h2){color:#1c1a5e!important}
}
@media screen{
html body.rts-own-workspace :is(main>.card,main>section>.card,main>.box,main>.panel,.reference-upload,.reference-photo-intake,.reference-photo-controls,.ps-panel,.ps-card,.photo-panel,.photo-workspace,.files,.target,.empty,.qr-panel){background:#ffffff!important;color:#1c1a5e!important;border-color:#d9ddf7!important}
html body.rts-own-workspace input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),html body.rts-own-workspace textarea,html body.rts-own-workspace select{background:#f0f0ff!important;color:#1c1a5e!important;border-color:#b6cce7!important}
html body.rts-own-workspace :is(label,h1,h2,h3,summary){color:#1c1a5e!important}
html body.rts-own-workspace .rts-workspace-nav{display:flex!important;background:#f0f0ff!important;align-items:center!important;justify-content:space-between!important;min-height:58px!important;opacity:1!important;visibility:visible!important;z-index:10!important;position:relative!important;color:#1c1a5e!important}
}
@media screen{
html body.rts-own-workspace :is(.card,.panel,.box,.formStage,.crop,.result,.target,.ref-form-heading,.ref-output,.ref-text-panel,#steps){background:#ffffff!important;color:#1c1a5e!important;border-color:#d9ddf7!important}
html body.rts-own-workspace :is(.ref-app input,.ref-app textarea,.ref-app select){background:#f0f0ff!important;color:#1c1a5e!important;border-color:#b6cce7!important}
html body.rts-own-workspace :is(.ref-app h2,.ref-app h3,.ref-app small,.ref-app label,.ref-app p,.ref-app summary,.ref-form-heading,.ref-app .tot){color:#365370!important}
html body.rts-own-workspace :is(.card button,.ref-app button,#steps button){background:#e3efff!important;color:#1c1a5e!important;border-color:#b6cce7!important}
html body.rts-own-workspace :is(.card button.on,.ref-app button.on,#steps button.on){background:#4338ca!important;color:#fff!important}
}
@media screen{
html body.rts-own-workspace :is(.prototype-note,.privacy-note,.warning,.hint,.notice){background:#ffffff!important;color:#4f6290!important;border-color:#b6cce7!important}
html body.rts-own-workspace>.app-header{display:none!important}html body.rts-own-workspace>.prototype-note{margin:12px!important;padding:12px!important}
html body.rts-own-workspace>.rts-workspace-nav .rts-brand{border:0!important;padding:0!important;border-radius:0!important}
}
@media screen{
html body.rts-own-workspace main>section,html body.rts-own-workspace main>details{background:#ffffff!important;color:#1c1a5e!important;border-color:#d9ddf7!important}
html body.rts-own-workspace main>section :is(h1,h2,h3,label,summary){color:#1c1a5e!important}
}
@media screen{
html body.rts-own-workspace{padding:0!important;box-sizing:border-box!important}html body.rts-own-workspace *{box-sizing:border-box}
html body.rts-own-workspace :is(#status,#pdfStatus,.status,.warning,.notice){background:#ffffff!important;color:#4f6290!important;border-color:#b6cce7!important}
}

@media screen{html body.rts-own-workspace>.rts-workspace-nav{background:#e3e5ff!important;border-color:#d2d6ff!important}html body.rts-own-workspace .rts-workspace-nav .rts-brand span{color:#ffffff!important}html body.rts-own-workspace .rts-workspace-nav .rts-back{background:#d8dbff!important;border-color:#79b9ff!important}html body.rts-own-workspace a{color:#075ca8}html body.rts-own-workspace :is(h1,h2,h3){color:#1c1a5e!important}}

@media screen{html body.rts-own-workspace .rts-workspace-nav a,html body.rts-own-workspace .rts-workspace-nav .rts-brand span{color:#30278e!important}html body.rts-own-workspace :is(h1,h2,h3){color:#1c1a5e!important}html body.rts-own-workspace .rts-workspace-nav{box-shadow:0 3px 14px #8ab8e51f!important}html body.rts-own-workspace button.on{color:#fff!important;background:#4338ca!important}}
@media screen{
html body.rts-own-workspace .boxes>.box>.title{background:#dcecff!important;color:#164b83!important;border:1px solid #c5ddf7!important}
html body.rts-own-workspace :is(#qrMake,#imageMake,.pan-primary-actions button,.ps-panel button,.photo-ref-tools button){background:#4338ca!important;color:#fff!important;border-color:#4338ca!important}
html body.rts-own-workspace :is(#clear,#clearAll){background:#e5effc!important;color:#174d85!important}
}
@media screen{
html body.rts-own-workspace .ref-shell>.ref-tips{grid-column:2;min-width:0!important;width:auto!important;padding:16px!important}
html body.rts-own-workspace #signPad{display:block!important;width:min(100%,420px)!important;height:130px!important;touch-action:none!important;background:#fff!important;border:1px dashed #8bb3df!important;border-radius:8px!important}
}
@media screen{html body.rts-own-workspace .photo-ref-app{display:block!important;width:100%!important;height:auto!important;min-height:0!important}html body.rts-own-workspace main.photo-ref-workspace{width:100%!important;max-width:1200px!important;margin:20px auto!important;height:auto!important}html body.rts-own-workspace .photo-ref-panel{min-width:0!important;overflow:visible!important}}

/* Output download actions use the approved indigo/white theme, not link blue on legacy red. */
html body.rts-own-workspace a.download,
html body.rts-own-workspace a.download:visited{background:#4338ca!important;color:#fff!important;border-color:#4338ca!important}
html body.rts-own-workspace a.download:hover{background:#3730a3!important;color:#fff!important}
html body.rts-own-workspace a.download:focus-visible{outline:3px solid #79b9ff!important;outline-offset:3px!important}

/* Print output links retain readable approved-theme contrast. */
@media screen{html body.rts-own-workspace #output a.link,html body.rts-own-workspace #output a.link:visited{background:#4338ca!important;color:#fff!important;border-color:#4338ca!important}html body.rts-own-workspace #output a.link:hover{background:#3730a3!important;color:#fff!important}html body.rts-own-workspace #output a.link:focus-visible{outline:3px solid #79b9ff!important;outline-offset:3px!important}}
