/*
 * Egytag Tools · canonical BLUE presentation layer · 2026-10-24
 * Used on all 39 standalone tools and the directory. Intentional color exceptions
 * are diagnostic success/warning/error and actual target-page visual previews.
 * Keep tool engines, accessibility, hidden states, and status data authoritative.
 */
body.standalone.lab-unified-theme{
 --lab-bg:#050d19;--lab-surface:#0b2038;--lab-panel:#0e2945;
 --lab-raised:#123554;--lab-stroke:#356891;--lab-blue:#258dff;
 --lab-blue-soft:#79c9ff;--lab-heading:#f1f8ff;--lab-muted:#c0d8f0;
 --xl-bg:var(--lab-bg);--xl-surface:var(--lab-surface);--xl-panel:var(--lab-panel);
 --xl-border:#376991;--xl-wash:rgba(35,133,255,.14);
 --xl-color:#79c9ff;--xl-strong:#f1f8ff;--xl-soft:#c0d8f0;
 --nt-f:#168cf0;--nt-p:#c2e4ff;
 font-size:17px;
 line-height:1.75;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail{
 font-size:17px;line-height:1.75;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(p,li,summary,dt,dd,label){
 line-height:1.78;
}
/* Readable minimum text for editorial content, field labels and measured facts. */
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__head p,.eg-site-audit__foot,.eg-site-audit__privacy,
 .eg-site-audit__row,.eg-site-audit__findings,.eg-site-audit__card-head span,
 .eg-seo-product__intro p,.eg-seo-product__metric span,.eg-seo-product__disclosure summary,
 .eg-pdf-studio__hint,.eg-pdf-studio__privacy,.eg-pdf-studio__status,
 .nt-image-studio-heading p,.eg-workflow-next p,
 .lab-processing-context,.tool-execution-note,.lab3-intro p,
 .seo-tool-guide p,.seo-tool-guide li,.fp-guide-step p
){font-size:clamp(15px,1.08vw,17px);line-height:1.85}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(h1){
 font-size:clamp(29px,2.75vw,39px);line-height:1.38;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__head h1,.eg-pdf-studio__heading h2,
 .nt-image-studio-heading strong
){font-size:clamp(26px,2.35vw,35px);line-height:1.4;color:#f3faff}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__card h3,.eg-seo-product__intro h3,
 .eg-pdf-studio__results h3,.eg-workflow-next h2,.lab3-group h3,
 .seo-tool-guide h2
){font-size:clamp(19px,1.5vw,23px);line-height:1.5;color:#f1f9ff}
body.standalone.lab-unified-theme :is(.standalone-header nav a,.lab-breadcrumb,.standalone-footer){
 font-size:clamp(15px,1vw,17px);
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 input:not([type=checkbox]):not([type=radio]),select,textarea
){font-size:clamp(16px,1.05vw,18px);line-height:1.6;min-height:46px}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(button,[role=tab]){
 font-size:clamp(15px,1.04vw,17px);line-height:1.5;min-height:44px;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit,.eg-pdf-studio,.nt-image-studio-heading,
 .eg-workflow-next,.eg-studio-upgrade,
 .lab-experience,.lab3-utility__panel
){
 background:linear-gradient(130deg,#0d2a49,#0a2038) !important;
 border-color:#3a749f !important;
 color:#e8f5ff;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__card,.eg-pdf-studio__controls,.eg-pdf-studio__results,
 .eg-pdf-preview,.eg-pdf-thumb-card,.eg-seo-product__legacy,
 .eg-seo-product__disclosure,.eg-site-audit__metrics,
 .eg-site-audit__results details,.nt-image-card,.eg-pdf-studio__file
){
 background:#102b48 !important;
 border-color:#396f9c !important;
 color:#e6f4ff;
}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__row dt,.eg-site-audit__head>span,.eg-site-audit__facts dt,
 .eg-site-audit__foot,.eg-site-audit__privacy,
 .eg-pdf-studio__heading>span,.eg-pdf-studio__hint,.eg-pdf-studio__privacy,
 .eg-pdf-studio__results p,.eg-seo-product__metric span
){color:#c3def2}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__row dd,.eg-site-audit__card h3,.eg-site-audit__head h1,
 .eg-pdf-studio__heading h2,.eg-pdf-studio__results h3
){color:#f1f9ff}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__card-head,.eg-site-audit__facts .eg-site-audit__row,
 .eg-seo-product__disclosure .eg-site-audit__card,
 .eg-pdf-studio__results .eg-pdf-studio__privacy
){border-color:#3b6e95}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__search input,.eg-pdf-studio input[type=text],
 .eg-pdf-studio input[type=file],.eg-pdf-studio select
){background:#0b2038;border-color:#487ba6;color:#f2faff}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__search button,.eg-site-audit__exports button,
 #pdfStudioRun,.eg-pdf-studio__download:not([hidden]),
 .nt-workspace button.nt-primary
){background:#217fdf !important;border-color:#68b9ff !important;color:#fff !important;box-shadow:none}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__search button,.eg-site-audit__exports button,
 #pdfStudioRun,.eg-pdf-studio__download:not([hidden])
):hover:not(:disabled){background:#3996f1!important}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 #pdfStudioPreview,.eg-pdf-studio__file button,.eg-pdf-thumb-actions button
){background:#163d60;border-color:#477eab;color:#e7f5ff}
body.standalone.lab-unified-theme .eg-site-audit__card-head .eg-site-audit__yes{
 background:#164934;color:#baf5d4;
}
body.standalone.lab-unified-theme .eg-site-audit__finding-error{color:#ffbbbb!important}
body.standalone.lab-unified-theme .eg-site-audit__finding-warning{color:#ffdfa6!important}
/* All panels visually blue. Keep active tab distinguishable and semantic signals intact. */
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 #egSeoProductTabs,.eg-dev-start__links[role=tablist],
 .proxy-product__tabs,.privacy-product__tabs
){background:#0b2541;border-color:#376e9e}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 #egSeoProductTabs [role=tab][aria-selected=true],
 .eg-dev-start__links [role=tab][aria-selected=true],
 .proxy-product__tab[aria-selected=true],
 .privacy-product__tab[aria-selected=true]
){background:#87ceff;color:#09263f;border-color:#b4e1ff}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-site-audit__card-head span:not(.eg-site-audit__yes),
 .eg-seo-product__metric,.eg-seo-product__panel,
 .eg-seo-studio article,.eg-seo-product__legacy
){border-color:#39719a;background-color:#102c49;color:#e6f4ff}
body.standalone.lab-unified-theme :is(.eg-site-audit,.eg-pdf-studio) :is(
 a,button,input,textarea,select,summary
):focus-visible{outline:3px solid #9fdbff;outline-offset:2px}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(
 .eg-seo-product__disclosure summary,.eg-seo-product__legacy>summary,
 .eg-pdf-classic>summary,.fp-content-disclosure>summary,.fp-export-panel>summary
){color:#e6f5ff;font-weight:780}
/* Shared icon vocabulary on all standalone tool pages. */
body.standalone.lab-unified-theme .eg-blue-heading-icon,
body.standalone.lab-unified-theme .eg-blue-action-icon{
 display:inline-block;flex:0 0 auto;width:20px;height:20px;
 margin-inline-end:7px;vertical-align:-.2em;color:#8ed5ff;
 fill:none;stroke:currentColor;stroke-width:1.8;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
body.standalone.lab-unified-theme .eg-blue-heading-icon{width:22px;height:22px}
body.standalone.lab-unified-theme :is(h2,h3,h4,summary,button).eg-blue-iconized{
 line-height:1.6;
}
body.standalone.lab-unified-theme button .eg-blue-action-icon{
 color:inherit;width:18px;height:18px;
}
body.standalone.lab-unified-theme :is(.standalone-workspace,.eg-site-audit,.eg-pdf-studio)
 :is(button,summary)[disabled]{cursor:not-allowed;opacity:.55}
@media(max-width:600px){
 body.standalone.lab-unified-theme .standalone-main.tool-detail{font-size:16px;line-height:1.75}
 body.standalone.lab-unified-theme .standalone-main.tool-detail :is(h2,h3){line-height:1.42}
 body.standalone.lab-unified-theme .standalone-main.tool-detail :is(button,[role=tab]){min-height:44px}
}
/* Common readable copy across every standalone tool, including specialized labs. */
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(p,li,dt,dd,label,summary){
 font-size:clamp(15px,1.08vw,17px);line-height:1.75;
}
/* A real SERP/social preview deliberately retains target-platform scale. */
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(.eg-seo-studio__serp p,.eg-seo-studio__social p){font-size:13px}
body.standalone.lab-unified-theme .eg-seo-studio #egSeoSchema{font-size:15px;line-height:1.7}
body.standalone.lab-unified-theme .standalone-main.tool-detail :is(.lab-report pre,.lab3-report pre,.eg-seo-studio code){font-size:14px;line-height:1.7}

/* JSON inspector: copying a pointer is a secondary compact inline action. */
main[data-tool="json-formatter"] .lab4-json-copy-path{
  box-sizing:border-box!important;display:inline-flex!important;flex:0 0 26px!important;
  width:26px!important;min-width:26px!important;max-width:26px!important;
  height:26px!important;min-height:26px!important;max-height:26px!important;
  margin-inline:6px!important;padding:0!important;border-radius:6px!important;
  border:1px solid #315777!important;background:#103352!important;
  color:#91cafa!important;font-size:14px!important;font-weight:500!important;
  line-height:1!important;box-shadow:none!important;vertical-align:middle!important;
}
main[data-tool="json-formatter"] .lab4-json-copy-path:hover,
main[data-tool="json-formatter"] .lab4-json-copy-path:focus-visible{
  color:#fff!important;border-color:#65b5ef!important;background:#195684!important;
}
main[data-tool="json-formatter"] .lab4-json-node summary,
main[data-tool="json-formatter"] .lab4-json-leaf{
  min-height:36px;line-height:1.6;
}

/* JSON deep-search: compact result rows instead of large action cards. */
main[data-tool="json-formatter"] #jsonDeepResults{
 display:flex!important;flex-direction:column!important;gap:0!important;
 padding:0!important;margin:0!important;max-height:480px;overflow-y:auto;
 border:1px solid #2b5073;border-radius:12px;background:#0a213a;
 list-style:none!important;
}
main[data-tool="json-formatter"] #jsonDeepResults>li{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;gap:3px 12px!important;margin:0!important;
 padding:9px 12px!important;border:0!important;border-bottom:1px solid #25435e!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;
 min-width:0!important;
}
main[data-tool="json-formatter"] #jsonDeepResults>li:last-child{border-bottom:0!important}
main[data-tool="json-formatter"] #jsonDeepResults>li code{
 grid-column:1!important;margin:0!important;min-width:0!important;
 font-size:13px!important;line-height:1.5!important;color:#9fcef2!important;
 overflow-wrap:anywhere;
}
main[data-tool="json-formatter"] #jsonDeepResults>li .json-match-preview{
 grid-column:1!important;grid-row:2!important;min-width:0!important;
 font-size:14px!important;color:#dfecf8!important;overflow-wrap:anywhere;
}
main[data-tool="json-formatter"] #jsonDeepResults>li .json-match-actions{
 grid-column:2!important;grid-row:1/3!important;display:flex!important;
 align-items:center!important;gap:5px!important;
}
main[data-tool="json-formatter"] #jsonDeepResults>li .json-match-actions button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:31px!important;width:31px!important;max-width:31px!important;
 min-height:31px!important;height:31px!important;margin:0!important;
 padding:0!important;border:1px solid #355c7e!important;border-radius:7px!important;
 background:#123a5e!important;color:#c9e7ff!important;box-shadow:none!important;
 font-size:15px!important;line-height:1!important;font-weight:500!important;
}
main[data-tool="json-formatter"] #jsonDeepResults>li .json-match-actions button:hover{
 background:#205886!important;color:#fff!important;border-color:#75c2fa!important;
}
@media(max-width:450px){
 main[data-tool="json-formatter"] #jsonDeepResults>li{padding:8px!important;gap:2px 8px!important}
}

/* JSON workspace: prioritize input, main operation and result. */
main[data-tool="json-formatter"] .lab3-utility__intro{margin-bottom:10px}
main[data-tool="json-formatter"] .lab3-utility__toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:12px 14px!important;border:1px solid #315476;border-radius:12px;background:#0a243c}
main[data-tool="json-formatter"] .lab3-utility__toolbar .action-row{display:flex;flex-wrap:wrap;gap:8px}
main[data-tool="json-formatter"] .lab3-utility__toolbar [data-action="json-format"]{background:#1579c5!important;color:#fff!important;border-color:#47adf8!important}
main[data-tool="json-formatter"] .lab3-utility__editors textarea{min-height:180px;max-height:500px;resize:vertical}
@media(max-width:600px){main[data-tool="json-formatter"] .lab3-utility__toolbar{padding:10px!important}}

/* JSON three-step workflow; keep technical options visible for power users. */
main[data-tool="json-formatter"] .json-workflow-label{display:block;width:100%;font-size:15px;font-weight:750;color:#cdeaff;line-height:1.6;margin:0 0 7px}
main[data-tool="json-formatter"] .json-workflow-first{margin:15px 0 10px}
main[data-tool="json-formatter"] .lab3-utility__panel--output header label{font-size:15px;font-weight:750;color:#d8edff}
main[data-tool="json-formatter"] .lab3-utility__toolbar [data-action="json-validate"],main[data-tool="json-formatter"] .lab3-utility__toolbar [data-action="json-minify"],main[data-tool="json-formatter"] .lab3-utility__toolbar [data-action="json-pointer"]{background:#10324e!important;color:#c8dff1!important;border-color:#355a77!important}
main[data-tool="json-formatter"] .lab3-utility__toolbar [data-action="json-format"]{order:-1;font-weight:800!important}

/* JSON focused workspace: clear progression and compact secondary UI. */
main[data-tool="json-formatter"] .json-workflow-first{margin:12px 0 3px!important}
main[data-tool="json-formatter"] .lab3-utility__toolbar{margin-block:8px!important}
main[data-tool="json-formatter"] .lab3-utility__toolbar .json-workflow-label{margin-bottom:0!important}
main[data-tool="json-formatter"] .json-file-import{margin:8px 0 14px!important;padding:9px 13px!important;background:#0a233b!important}
main[data-tool="json-formatter"] .json-file-import p{font-size:12px!important}
main[data-tool="json-formatter"] #jsonValidation{margin:13px 0!important}
main[data-tool="json-formatter"] #jsonStructure{
 border:1px solid #345878!important;border-radius:14px!important;
 background:#091f34!important;margin-top:18px!important;padding:16px!important
}
main[data-tool="json-formatter"] #jsonStructure>header{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:10px!important;margin-bottom:12px!important
}
main[data-tool="json-formatter"] #jsonStructure>header h3{
 font-size:20px!important;font-weight:800!important;color:#e3f3ff!important;margin:0!important
}
main[data-tool="json-formatter"] .lab4-json-search{
 margin:10px 0!important;font-size:14px!important;color:#c4e0f6!important
}
main[data-tool="json-formatter"] .lab4-json-page-hint{
 font-size:12px!important;color:#a7c1d7!important;line-height:1.65!important;
 margin:8px 0 15px!important;
}
main[data-tool="json-formatter"] #jsonDeepSearch{
 background:#0d2a46!important;border:1px solid #365e82!important;border-radius:12px!important;
 padding:15px!important;margin-block:15px!important
}
main[data-tool="json-formatter"] #jsonDeepSearch h4{font-size:17px!important;color:#e7f4ff!important}
main[data-tool="json-formatter"] #jsonDeepSearch p{color:#b9d1e6!important;font-size:13px!important}
main[data-tool="json-formatter"] #jsonDeepSearch input{
 min-height:43px!important;border:1px solid #426c91!important;border-radius:10px!important;
 background:#081e33!important;color:#ecf7ff!important
}
main[data-tool="json-formatter"] #jsonDeepRun,
main[data-tool="json-formatter"] #jsonDeepMore{
 min-height:39px!important;padding:8px 13px!important;border:1px solid #4d86b6!important;
 border-radius:9px!important;background:#174b76!important;color:#fff!important;
 font-size:14px!important;font-weight:700!important
}
main[data-tool="json-formatter"] #jsonTree{max-height:620px;overflow:auto;scrollbar-width:thin}
@media(max-width:620px){
 main[data-tool="json-formatter"] #jsonStructure{padding:11px!important}
 main[data-tool="json-formatter"] #jsonStructure>header h3{font-size:18px!important}
 main[data-tool="json-formatter"] .lab3-utility__toolbar .action-row{width:100%}
 main[data-tool="json-formatter"] .lab3-utility__toolbar .action-row button{flex:1 1 auto;min-width:125px}
}


/* Consistent, task-first hierarchy for independent tools: never hide capabilities. */
body.standalone.lab-unified-theme main.tool-detail .standalone-workspace{
 scroll-margin-top:90px;
 border-radius:18px;
}
body.standalone.lab-unified-theme main.tool-detail .standalone-workspace .tool-workspace{
 min-width:0;
}
body.standalone.lab-unified-theme main.tool-detail .tool-example-quick-link{
 min-height:44px;padding-inline:17px;font-size:15px;
 margin-block:8px 13px;
}
body.standalone.lab-unified-theme main.tool-detail .seo-tool-guide{
 margin-top:25px;
}
body.standalone.lab-unified-theme main.tool-detail :is(.tool-controls,.standalone-workspace) :is(input,textarea,select):focus-visible{
 outline:2px solid #79bfff;outline-offset:2px;
}
body.standalone.lab-unified-theme main.tool-detail .standalone-workspace :is(button,[role=button]){
 transition:background-color .14s ease,border-color .14s ease;
}
@media(max-width:650px){
 body.standalone.lab-unified-theme main.tool-detail .standalone-workspace{
  border-radius:13px;
 }
 body.standalone.lab-unified-theme main.tool-detail .tool-example-quick-link{
  max-width:100%;white-space:normal;text-align:center;
 }
}
