/* FilesQuickly shared shell — mirrors hcbar/pagekit (the reference design).
   Vendored byte-identical in compressor-de-imagens and conversor-mp3.
   Tool-specific styles live in each product's style.css and use these tokens. */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25372f;background:#f7f8f4;font-synthesis:none;--green:#244f3d;--green-dark:#173b2c;--muted:#58675e;--line:#dce1d9;--surface:#fcfcf9;--panel:#eef0e9;--border:#829485;--accent:#bd8646}
*{box-sizing:border-box}body{margin:0}
button,input,select{font:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer}button:disabled{cursor:default;opacity:.45}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ce9343;outline-offset:4px}
[hidden]{display:none!important}
/* Header */
header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:48px;padding:0 4.2%;background:var(--surface)}
.brand{display:flex;align-items:center;font-size:28px;letter-spacing:-1.5px;font-weight:750}
.brand-icon{font-size:40px;line-height:1;margin-right:10px;font-weight:400;transform:rotate(-10deg)}
.brand-dot{color:var(--accent)}
.languages{margin-left:auto;display:flex;gap:15px;font-size:11px;letter-spacing:.06em}
.languages a{color:var(--muted);padding:8px 0}
.languages a[aria-current]{color:var(--green);border-bottom:1px solid var(--green)}
/* Tool switcher: the same four cards on every FilesQuickly page */
.tool-switcher{max-width:1450px;margin:auto;padding:20px 4.2% 0}
.tool-switcher h2{margin:0 0 10px;font-size:12px;font-weight:650;color:var(--green)}
.tool-switcher nav{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:flex-start}
.tool-group{display:flex;align-items:center;gap:10px;min-width:0}
.tool-group h3{margin:0;flex-shrink:0;font-size:11px;font-weight:650;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.tool-list{display:flex;flex-wrap:wrap;gap:8px}
.tool-option{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--border);border-radius:9px;color:var(--green);background:var(--surface);font-size:14px;font-weight:600;line-height:1.3;white-space:nowrap}
.tool-option svg{flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tool-option:hover{background:#eef3e9}
.tool-switcher a[aria-current]{background:#e9eee6;border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
/* Page intro */
main{max-width:1450px;margin:auto;padding:40px 4.2% 64px}
.intro{text-align:center;margin-bottom:32px}
.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:650;color:var(--muted);margin:0 0 12px}
h1{font-size:clamp(30px,3.1vw,43px);font-weight:500;letter-spacing:-1.8px;line-height:1.12;margin:0 0 14px}
.lede{font-size:16px;color:var(--muted);line-height:1.55;margin:0 auto;max-width:640px}
/* Tool panel: same container and drop area as the PDF tools */
.tool-panel{max-width:760px;margin:auto;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px}
.tool-drop{border:1px dashed #c9d2c5;border-radius:8px;padding:32px clamp(16px,4vw,40px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.tool-drop label{font-size:21px;letter-spacing:-.6px;font-weight:500;color:#25372f}
.tool-drop .hint,.tool-panel .hint{font-size:13px;color:var(--muted);line-height:1.6;margin:0}
input[type=file]{max-width:100%;font-size:14px;color:var(--muted)}
input[type=file]::file-selector-button{border:1px solid var(--green);background:var(--green);color:#fff;padding:12px 18px;border-radius:6px;font-weight:500;margin-right:12px;cursor:pointer}
input[type=file]::file-selector-button:hover{background:var(--green-dark)}
input[type=number]{border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:11px 12px;min-height:44px;color:#25372f;width:100%}
.primary{border:1px solid var(--green);background:var(--green);color:#fff;padding:14px 18px;border-radius:6px;font-size:14px;font-weight:500}
.primary:hover:enabled{background:var(--green-dark)}
.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;min-height:42px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--green);font-size:13px;font-weight:550}
.secondary:hover:enabled{background:#e8eee2}
/* Local-processing guarantee, same callout as the PDF tools */
.local-privacy{max-width:760px;margin:20px auto 0;padding:18px 22px;border:1px solid #9ab59d;border-left:4px solid var(--green);border-radius:9px;background:#e5eee3;color:var(--green);line-height:1.55}
.local-privacy strong{display:block;font-size:17px;font-weight:700;letter-spacing:-.3px}
.local-privacy p{margin:6px 0 0;font-size:14px;color:#294a38}
.local-privacy a{text-decoration:underline;text-underline-offset:3px}
/* Footer */
footer{max-width:1450px;padding:24px 4.2%;margin:auto;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px 22px;font-size:11px;color:var(--muted)}
footer span:first-child{font-weight:650;color:var(--green)}
footer span:last-child{margin-left:auto}
footer a{text-decoration:underline;text-underline-offset:3px}
@media (min-width:1500px){header{padding-left:max(4.2%,calc((100vw - 1330px)/2));padding-right:max(4.2%,calc((100vw - 1330px)/2))}}
@media (max-width:900px){header{gap:20px;padding:0 24px}}
@media (max-width:680px){.tool-switcher nav{flex-direction:column;align-items:stretch;gap:12px}.tool-group{flex-direction:column;align-items:stretch;gap:6px}.tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){header{min-height:72px;height:auto;padding:14px 16px}.brand{font-size:25px}.brand-icon{font-size:31px}.languages{font-size:10px}
  .tool-switcher{padding:16px 16px 0}.tool-option{padding:9px 10px;font-size:13px;white-space:normal}
  main{padding:24px 16px 40px}h1{letter-spacing:-1px}.lede{font-size:13px;line-height:1.6}.tool-panel{padding:12px}.tool-drop{padding:24px 14px}footer{padding:20px 16px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
