/* Original tool controls and layout remain governed by their original styles. */
html.eazy-review-mode .ad,html.eazy-review-mode .tool-ad,html.eazy-review-mode [aria-label="Advertisement"],html.eazy-review-mode .eazy-tool-ad-slot,html.eazy-review-mode .eazy-home-ad,html.eazy-review-mode .eazy-tool-side-banner,html.eazy-review-mode .eazy-tool-ad-dimensions{display:none!important}
.eazy-restored-guide{display:block!important;max-width:1180px;margin:32px auto!important;padding:28px!important;border:1px solid #dbe5ef!important;border-radius:16px!important;background:#fff!important}.eazy-restored-guide .quality-guide{font:15px/1.75 system-ui;color:#243f5e}.eazy-restored-guide h2{font-size:26px;margin:0 0 18px}.eazy-restored-guide h3{font-size:18px;margin:22px 0 8px}.eazy-restored-guide p{margin:0 0 16px;color:#526981}.eazy-restored-guide a{color:#1764c7}.eazy-restored-guide nav a{display:inline-block;margin:5px 18px 5px 0}.eazy-restored-guide .quality-help{padding-top:16px;border-top:1px solid #dbe5ef}.eazy-restored-resources{max-width:1180px;margin:40px auto;padding:28px;color:#173653}.eazy-restored-resources>h2{font:750 28px system-ui;margin:0 0 10px}.eazy-restored-resources>p{color:#5b718a;margin:0 0 20px}.eazy-restored-resources>div{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.eazy-restored-resources a{display:block;padding:24px;border:1px solid #cfdfef;border-radius:14px;background:linear-gradient(140deg,#fff,#eff6ff);color:#173653;text-decoration:none;font-weight:750}.eazy-restored-resources a span{display:block;margin-top:12px;font-size:13px;line-height:1.6;color:#597592;font-weight:400}.eazy-restored-resources a:hover{border-color:#85adde}.eazy-restored-resources a:focus-visible{outline:3px solid #1764c7;outline-offset:4px}[hidden]{display:none!important}@media(max-width:700px){.eazy-restored-resources>div{grid-template-columns:1fr}.eazy-restored-resources{padding:20px;margin:20px auto}.eazy-restored-guide{padding:20px!important;margin:24px 16px!important}}
/* Larger category icons and softly colored category cards. */
.category-directory .category-jump{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;overflow:visible;padding:0;margin-bottom:36px}
.category-directory .category-jump>a{--category-color:#1769db;--category-tint:#eaf2ff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:142px;padding:22px 14px;border:1px solid #dce6f0;border-radius:18px;background:linear-gradient(160deg,#fff 35%,var(--category-tint));color:#18334f;font-size:14px;font-weight:750;text-align:center;box-shadow:0 4px 14px #17365305;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.category-directory .category-jump>a>svg{box-sizing:border-box;width:64px;height:64px;max-width:none;padding:14px;border-radius:18px;background:var(--category-tint);color:var(--category-color);stroke-width:1.8;filter:drop-shadow(0 3px 3px #17365308);transition:transform .18s ease}
.category-directory .category-jump>a:hover{transform:translateY(-3px);border-color:var(--category-color);box-shadow:0 10px 24px #17365312;color:var(--category-color)}
.category-directory .category-jump>a:hover>svg{transform:scale(1.06)}
.category-directory .category-jump>a:focus-visible{outline:3px solid var(--category-color);outline-offset:4px}
.category-directory .category-jump>a[href="#pdf-tools"]{--category-color:#d34455;--category-tint:#fff0f2}
.category-directory .category-jump>a[href="#image-tools"]{--category-color:#8651d3;--category-tint:#f3edff}
.category-directory .category-jump>a[href="#calculators"]{--category-color:#1d9370;--category-tint:#e8f8f0}
.category-directory .category-jump>a[href="#network-tools"]{--category-color:#088b92;--category-tint:#e5f7f8}
.category-directory .category-jump>a[href="#text-tools"]{--category-color:#b87812;--category-tint:#fff6df}
.category-directory .category-jump>a[href="#file-converters"]{--category-color:#3871c5;--category-tint:#ebf3ff}
.category-directory .category-jump>a[href="#qr-tools"]{--category-color:#6953b4;--category-tint:#f1edfc}
.category-directory .category-jump>a[href="#security-tools"]{--category-color:#3a7d68;--category-tint:#eaf7f1}
.category-directory .category-jump>a[href="#finance-tools"]{--category-color:#bd6835;--category-tint:#fff0e6}
@media(max-width:959px){.category-directory .category-jump{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.category-directory .category-jump{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-directory .category-jump>a{min-height:130px;padding:18px 10px;gap:11px;font-size:13px}.category-directory .category-jump>a>svg{width:58px;height:58px;padding:12px;border-radius:16px}}
@media(prefers-reduced-motion:reduce){.category-directory .category-jump>a,.category-directory .category-jump>a>svg{transition:none;transform:none!important}}
.category-directory .category-jump{position:static;inset:auto;width:auto;height:auto}
.category-directory,.category-directory .category-block,.category-directory .category-tool-grid,.category-directory .category-tool{box-sizing:border-box;min-width:0;max-width:100%}
@media(max-width:639px){.category-directory .category-tool-grid{grid-template-columns:minmax(0,1fr)}.category-directory .category-tool{width:100%}.category-directory .category-tool small{white-space:normal;overflow-wrap:anywhere}.category-directory{scroll-margin-top:112px}.category-directory .category-block{scroll-margin-top:112px}}
.category-directory .category-jump{background:transparent;border:0;box-shadow:none}.category-directory{scroll-margin-top:112px}
/* Category hover feedback stays stationary. */
.category-directory .category-jump>a,.category-directory .category-jump>a>svg{transform:none!important;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease,background-color .18s ease}

/* Shared tool palette and comfortable workspace sizing. */
.tool-page{--tool-accent:#225ac7;--tool-deep:#18469f;--tool-tint:#edf3ff;--tool-line:#ccdafa;background:linear-gradient(135deg,var(--tool-tint),#f8fafc 55%,#f0f5fa)!important}
.tool-page[data-category=pdf]{--tool-accent:#be3652;--tool-deep:#98273f;--tool-tint:#fff0f3;--tool-line:#f1ccd5}
.tool-page[data-category=image]{--tool-accent:#7b42c4;--tool-deep:#60309e;--tool-tint:#f5efff;--tool-line:#dfcdf4}
.tool-page[data-category=calculators],.tool-page[data-category=finance]{--tool-accent:#087d66;--tool-deep:#086351;--tool-tint:#eaf8f2;--tool-line:#bfe4d6}
.tool-page[data-category=text]{--tool-accent:#9a600c;--tool-deep:#794909;--tool-tint:#fff7e6;--tool-line:#eed9ac}
.tool-page[data-category=network]{--tool-accent:#087e8b;--tool-deep:#08616d;--tool-tint:#e9f9fa;--tool-line:#bfe4e7}
.tool-page[data-category=qr]{--tool-accent:#6944b6;--tool-deep:#51318f;--tool-tint:#f3effc;--tool-line:#d9cef0}
.tool-page[data-category=security]{--tool-accent:#30744d;--tool-deep:#225b3a;--tool-tint:#edf8ee;--tool-line:#c8e3ce}
.tool-page .tool-shell{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1120px!important;margin:36px auto!important;padding:0!important;gap:24px!important;grid-template-columns:minmax(0,1fr) 280px}
.tool-page .tool-main{min-width:0;max-width:100%}
.tool-page .tool-heading{margin-bottom:24px!important}
.tool-page .tool-heading>span{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--tool-line);border-radius:999px;background:var(--tool-tint);color:var(--tool-deep)!important;font-weight:750;font-size:12px;letter-spacing:.04em}
.tool-page .tool-heading h1{letter-spacing:-.035em;line-height:1.15;margin-top:14px}
.tool-page .tool-heading>p{max-width:640px;line-height:1.7;color:#52657b}
.tool-page .workspace-card{border:1px solid var(--tool-line)!important;border-top:4px solid var(--tool-accent)!important;border-radius:20px!important;box-shadow:0 12px 36px #1736530a!important;background:#fff!important;padding:28px!important;min-width:0}
.tool-page .elite-intro{padding-bottom:20px;border-bottom:1px solid var(--tool-line);margin-bottom:22px}
.tool-page .elite-intro>span{background:var(--tool-tint)!important;color:var(--tool-accent)!important;border-radius:14px}
.tool-page .upload-zone{background:linear-gradient(135deg,var(--tool-tint),#fff)!important;border:2px dashed var(--tool-line)!important;border-radius:16px!important;padding:32px 20px!important}
.tool-page .upload-zone:hover{border-color:var(--tool-accent)!important}
.tool-page .upload-zone>svg{color:var(--tool-accent)!important}
.tool-page :is(input,select,textarea){accent-color:var(--tool-accent)}
.tool-page :is(input,select,textarea):focus-visible{outline:3px solid var(--tool-line)!important;outline-offset:2px;border-color:var(--tool-accent)!important}
.tool-page :is(.run-button,.secondary-action,.wc-run,.wc-clear,.qr-download){display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;max-width:100%;flex:0 1 auto!important;justify-self:start;min-height:44px;padding:11px 22px!important;border-radius:10px!important;white-space:normal}
.tool-page :is(.run-button,.wc-run,.qr-download){background:var(--tool-accent)!important;border:1px solid var(--tool-accent)!important;color:#fff!important;box-shadow:0 4px 12px #17365316!important}
.tool-page :is(.run-button,.wc-run,.qr-download):hover:not(:disabled){background:var(--tool-deep)!important;border-color:var(--tool-deep)!important}
.tool-page :is(.run-button,.wc-run):disabled{background:#e3e9f0!important;border-color:#d5dee8!important;color:#68798d!important;box-shadow:none!important;cursor:not-allowed;opacity:1!important}
.tool-page .workspace-card>.run-button{margin-top:22px;margin-left:0!important}
.tool-page :is(.editor-actions,.wc-actions){display:flex;flex-wrap:wrap;justify-content:flex-start!important;gap:12px}
.tool-page .editor-actions .run-button{margin-left:0!important}
.tool-page :is(.secondary-action,.wc-clear){color:var(--tool-deep)!important;background:var(--tool-tint)!important;border:1px solid var(--tool-line)!important;box-shadow:none!important}
.tool-page :is(.result-card,.local-size-results,.wc-stat){border-color:var(--tool-line)!important;background:linear-gradient(135deg,#fff,var(--tool-tint))!important}
.tool-page .tool-side>article{border:1px solid var(--tool-line);border-radius:14px;background:#ffffffbd;padding:18px}
.tool-page .tool-side>article>svg{color:var(--tool-accent)}
.tool-page .eazy-restored-guide{box-sizing:border-box;max-width:1120px!important;width:calc(100% - 48px);border-color:var(--tool-line)!important}
.tool-page .eazy-restored-guide h3{color:var(--tool-deep)}
@media(min-width:901px){.tool-page .tool-shell:has(.wc-workspace),.tool-page .tool-shell:has(.mc-app){max-width:1180px!important}}
@media(max-width:900px){.tool-page .tool-shell{grid-template-columns:minmax(0,1fr)!important;max-width:860px!important}.tool-page .tool-side{min-width:0}}
@media(max-width:600px){.tool-page .tool-shell{width:calc(100% - 28px)!important;margin:24px auto!important}.tool-page .workspace-card{padding:20px!important;border-radius:16px!important}.tool-page .eazy-restored-guide{width:calc(100% - 28px);margin:24px auto!important}.tool-page .upload-zone{padding:26px 16px!important}.tool-page :is(.run-button,.secondary-action,.wc-run,.wc-clear){font-size:14px;padding:11px 16px!important}}
.tool-page .elite-intro{background:linear-gradient(120deg,var(--tool-tint),#fff)!important;border-color:var(--tool-line)!important}
.tool-page :is(.tool-heading h1>svg,.tool-heading-icon){color:var(--tool-accent)!important}
.tool-page .wc-intro-icon{background:var(--tool-tint)!important;color:var(--tool-accent)!important}
.tool-page :is(.wc-intro,.wc-settings,.wc-text){border-color:var(--tool-line)!important}
.tool-page .wc-settings{background:var(--tool-tint)!important}
