/* The simple frame for tool pages (javascriptconverter.com style): system font with Segoe UI on Windows, flat light
   background, 64px header, plain white footer, related tools as cards. Loaded last, so it wins ties with page styles. */
html body.sx-site{font-family:"Google Sans","Segoe UI",Roboto,system-ui,-apple-system,Arial,sans-serif!important}
/* Flat light background, except on pages designed dark (studio-dark), which keep theirs under the white header. */
html body.sx-site:not(.studio-dark){background:#f8fafd!important;background-image:none!important;color:#1f1f1f}
body.sx-site :is(h1,h2,h3,h4,h5,h6,p,a,span,div,li,label,button,input,select,small,strong,em,b,th,td,dt,dd,summary,legend,figcaption,nav,section,article,aside,address,output){
  font-family:"Google Sans","Segoe UI",Roboto,system-ui,-apple-system,Arial,sans-serif}
body.sx-site :is(code,pre,kbd,samp),body.sx-site :is(code,pre,kbd,samp) *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}

.sx-site .sx-header{display:block!important;position:sticky;top:0;z-index:50;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-bottom:1px solid #c4c7c5!important;box-shadow:none!important}
.sx-site .sx-bar{display:flex!important;justify-content:flex-start!important;align-items:center;gap:24px;width:100%;max-width:1600px;height:64px;margin:0 auto;padding:0 clamp(20px,4vw,64px);box-sizing:border-box}
.sx-site .sx-brand{font-size:20px;font-weight:700;color:#0b57d0;text-decoration:none;letter-spacing:-.2px;white-space:nowrap}
/* Products first: MyLiveChat, JavaScript Converter, JS Obfuscator, Rich Text Editor, PDF Editor; then Tools, Products, Support. */
.sx-nav{display:flex;align-items:center;gap:2px;min-width:0}
.sx-site .sx-nav a,.sx-site .sx-link{font-size:14px;font-weight:500;color:#444746;text-decoration:none}
.sx-site .sx-nav a{padding:8px 10px;border-radius:8px;white-space:nowrap}
.sx-site .sx-nav a:hover,.sx-site .sx-link:hover{color:#0b57d0}
.sx-site .sx-nav a:hover{background:#eef3fc}
.sx-site .sx-nav a[aria-current=page]{color:#0b57d0}
.sx-site .sx-nav a.sx-nav-tools{margin-left:10px;border-left:1px solid #c4c7c5;border-radius:0 8px 8px 0;padding-left:16px}
.sx-actions{display:flex;align-items:center;gap:20px;margin-left:auto}
.sx-site .sx-link{font-weight:400}
.sx-site .sx-button{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:8px;background:#0b57d0;color:#fff;font-size:14px;font-weight:500;text-decoration:none}
.sx-site .sx-button:hover{background:#0842a0}
.sx-site :is(.sx-header,.sx-footer) a:focus-visible{outline:2px solid #0b57d0;outline-offset:3px;border-radius:4px}

.sx-site .sx-footer{display:block!important;width:100%!important;max-width:none!important;margin:64px 0 0!important;padding:0!important;background:#fff!important;border:0!important;border-top:1px solid #c4c7c5!important;color:#444746;text-align:left!important}
.sx-site .sx-footer-grid{display:grid!important;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:32px;max-width:1600px;margin:0 auto;padding:40px clamp(20px,4vw,64px) 24px;box-sizing:border-box}
.sx-footer-about p{font-size:13px;line-height:1.6;margin:10px 0 14px;max-width:360px;color:#444746}
.sx-footer address{font-style:normal;font-size:12px;line-height:1.5;color:#5f6368}
.sx-site .sx-footer h2{font-size:14px;font-weight:600;color:#1f1f1f;margin:4px 0 12px}
.sx-footer ul{list-style:none;margin:0;padding:0}
.sx-footer li{margin:0 0 8px}
.sx-site .sx-footer li a{font-size:13px;color:#0b57d0;text-decoration:none}
.sx-site .sx-footer li a:hover{text-decoration:underline}
.sx-site .sx-copy{display:block;max-width:1600px;margin:0 auto;padding:16px clamp(20px,4vw,64px) 28px;box-sizing:border-box;font-size:12px;color:#5f6368;border-top:1px solid #eef0f3}

/* Related tools at the end of a page: plain cards, three across. */
.sx-site .sx-related{margin:48px 0 0}
.sx-site .sx-related h2{font-size:20px;font-weight:700;color:#1f1f1f;margin:0 0 16px}
.sx-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sx-site .sx-card{display:block;padding:16px 18px;background:#fff;border:1px solid #c4c7c5;border-radius:12px;color:#1f1f1f;font-size:15px;font-weight:500;text-decoration:none}
.sx-site .sx-card:hover{border-color:#0b57d0;color:#0b57d0}

/* Small notices next to the tool read as one quiet line, not a coloured box. */
.sx-site main .rs-processing-note{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:12px 0 0!important;font-size:13px;color:#5f6368}

@media (max-width:1180px){
  .sx-site .sx-actions .sx-link{display:none}
}
@media (max-width:900px){
  .sx-site .sx-bar{flex-wrap:wrap;height:auto;gap:8px 16px;padding-top:10px;padding-bottom:6px}
  .sx-site .sx-nav{order:3;flex:0 0 100%;flex-wrap:wrap;gap:0 2px}
  .sx-site .sx-nav a{padding:6px 8px;font-size:13px}
  .sx-site .sx-nav a.sx-nav-tools{margin-left:4px;border-left:0;padding-left:8px}
  .sx-site .sx-actions{margin-left:auto}
}
@media (max-width:760px){
  .sx-site .sx-link{display:none}
  .sx-bar{gap:12px}
  .sx-footer-grid{grid-template-columns:1fr 1fr}
  .sx-footer-about{grid-column:1/-1}
  .sx-related-grid{grid-template-columns:1fr}
}
@media print{.sx-header,.sx-footer,.sx-related{display:none}}

/* Breadcrumb as plain text: Home › Tools › page. */
body.sx-site #rs-main .rs-tool-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;font-size:14px;color:#444746}
body.sx-site #rs-main .rs-tool-trail a,body.sx-site #rs-main .rs-tool-trail .rs-trail-home{padding:0;border:0;background:none;color:#444746;text-decoration:none;font-size:14px}
body.sx-site #rs-main .rs-tool-trail a:hover{color:#0b57d0;text-decoration:underline}
body.sx-site #rs-main .rs-tool-trail [aria-hidden]{color:#80868b}
/* On pages designed dark the heading above the (white) related cards is light. */
body.studio-dark.sx-site .sx-related h2{color:#f3f6fc}
/* Breadcrumb on pages designed dark. */
body.studio-dark.sx-site #rs-main .rs-tool-trail,body.studio-dark.sx-site #rs-main .rs-tool-trail a{color:#c5d0e6}
body.studio-dark.sx-site #rs-main .rs-tool-trail [aria-hidden]{color:#8fa0bb}
/* Plain page intro (the tools directory): breadcrumb, title, one sentence. */
.sx-site .sx-crumb{display:flex;gap:6px;max-width:1600px;margin:24px auto 14px;padding:0 clamp(20px,4vw,64px);box-sizing:border-box;font-size:14px;color:#444746}
.sx-site .sx-crumb a{color:#444746;text-decoration:none}.sx-site .sx-crumb a:hover{color:#0b57d0;text-decoration:underline}.sx-site .sx-crumb [aria-hidden]{color:#80868b}
.sx-site .sx-intro{max-width:1600px;margin:0 auto 24px;padding:0 clamp(20px,4vw,64px);box-sizing:border-box}
.sx-site .sx-intro h1{font-size:clamp(28px,3vw,36px);font-weight:700;line-height:1.2;margin:0 0 12px;color:#1f1f1f}
.sx-site .sx-intro p{font-size:16px;line-height:1.65;color:#444746;margin:0;max-width:900px}
/* Inside a page container the intro lines up with the content below it. */
.sx-site main :is(.sx-crumb,.sx-intro){max-width:none;padding:0;margin-left:0;margin-right:0}

/* One content edge for every page: the main column takes the header's width and side padding, so the content lines up with
   the top menu. Pages whose sections already have that width (converter layout, home page bands) keep their own. */
body.sx-site>main:not(:has(.cv-page,.sx-wrap,.sx-band)){width:100%!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(20px,4vw,64px)!important;padding-right:clamp(20px,4vw,64px)!important;box-sizing:border-box!important}

/* Tool and guide pages built with their own centred column start at the content edge, in line with the top menu (main
   already has the side padding). */
body.sx-site>main>:is(section.nt,section.roe,section.pq,section.ei,section.lf,section.ic,section.bb,section.dt,section.pb,article.guide,section.guides-hub){margin-left:0!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.sx-site main .rs-dev-guide{margin-left:0!important;margin-right:auto!important}
/* Controls kept hidden in the simple header (the workspace night-mode button) stay hidden whatever the page's own CSS says. */
.sx-site .sx-header [hidden]{display:none!important}
body.sx-site main .cc-wrap{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
/* A fieldset is as wide as its widest content by default; inside the frame it fits the screen. */
body.sx-site main fieldset{min-width:0}
/* ROE prep: the pay period table (dates, amounts and a delete button per row) scrolls inside its own box on a phone
   instead of widening the page. */
@media (max-width:640px){body.sx-site .roe .periods{display:block;max-width:100%;overflow-x:auto}}

/* Outline variant of the header button (Download, next to View pricing). */
.sx-site .sx-button-outline{background:#fff;color:#0b57d0;box-shadow:inset 0 0 0 1px #0b57d0}
.sx-site .sx-button-outline:hover{background:#eef3fc;color:#0842a0}
