/* FileCarpenter shared product shell — v1.9.2
   One visual/navigation contract across Gateway, PDF Tools, PDF Editor and FCShare. */
:root{
  --fc-bg:#faf9f6;--fc-surface:#fff;--fc-ink:#171a1d;--fc-ink-soft:#303438;
  --fc-muted:#6b6f73;--fc-line:#dedbd7;--fc-line-strong:#c8c4bf;
  --fc-accent:#d76552;--fc-accent-dark:#b94e3d;--fc-accent-soft:#f8e9e5;
  --fc-shell-h:64px;--fc-shell-max:1280px;
  --fc-font:Inter,"Segoe UI Variable","Segoe UI",system-ui,-apple-system,sans-serif;
}
.fc-sitebar{width:100vw;margin-left:calc(50% - 50vw);height:var(--fc-shell-h);background:rgba(250,249,246,.97);border-bottom:1px solid var(--fc-line);font-family:var(--fc-font);color:var(--fc-ink);position:relative;z-index:120;backdrop-filter:saturate(1.05) blur(10px)}
.fc-sitebar *{box-sizing:border-box}.fc-sitebar a{color:inherit;text-decoration:none}
.fc-sitebar-inner{width:min(var(--fc-shell-max),calc(100% - 64px));height:100%;margin:0 auto;display:flex;align-items:stretch;gap:24px}
.fc-sitebrand{display:flex;align-items:center;gap:11px;flex:none;min-width:192px;letter-spacing:-.025em}
.fc-sitebrand-mark{width:34px;height:40px;border:1.5px solid var(--fc-accent);position:relative;display:block;background:transparent;flex:none}
.fc-sitebrand-mark:before{content:"";position:absolute;left:6px;right:6px;top:10px;height:1.5px;background:var(--fc-accent);box-shadow:0 7px 0 var(--fc-accent),0 14px 0 var(--fc-accent)}
.fc-sitebrand-mark:after{content:"";position:absolute;width:16px;height:2px;right:-4px;bottom:8px;background:var(--fc-ink);transform:rotate(-43deg);transform-origin:center}
.fc-sitebrand-copy{display:grid;grid-template-columns:auto auto;align-items:baseline;line-height:1;white-space:nowrap}.fc-sitebrand-copy strong,.fc-sitebrand-copy b{font-size:17px;font-weight:730}.fc-sitebrand-copy b{color:var(--fc-accent)}
.fc-sitebrand-copy small{grid-column:1/-1;margin-top:4px;color:var(--fc-muted);font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.fc-product-nav{display:flex;align-items:stretch;height:100%;margin-left:auto;border-left:1px solid var(--fc-line)}
.fc-product-nav a{position:relative;min-width:126px;padding:0 22px;border-right:1px solid var(--fc-line);display:grid;place-items:center;color:var(--fc-ink-soft);font-size:13.5px;font-weight:620;white-space:nowrap}
.fc-product-nav a:hover,.fc-product-nav a:focus-visible,.fc-product-nav a[aria-current="page"]{color:var(--fc-accent)}
.fc-product-nav a[aria-current="page"]:after{content:"";position:absolute;left:24px;right:24px;bottom:-1px;height:3px;background:var(--fc-accent)}
.fc-siteutility{display:flex;align-items:center;gap:16px;flex:none}.fc-siteutility a{color:var(--fc-muted);font-size:12px;font-weight:620}.fc-siteutility a:hover{color:var(--fc-accent)}
.fc-sitefooter{width:100vw;margin-left:calc(50% - 50vw);border-top:1px solid var(--fc-line);background:var(--fc-bg);font-family:var(--fc-font);color:var(--fc-muted)}
.fc-sitefooter-inner{width:min(var(--fc-shell-max),calc(100% - 64px));min-height:92px;margin:0 auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.fc-footer-brand{font-weight:720;color:var(--fc-ink);text-decoration:none;letter-spacing:-.02em}.fc-footer-brand b{color:var(--fc-accent)}
.fc-footer-nav{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}.fc-footer-nav a{color:var(--fc-muted);text-decoration:none;font-size:12px;font-weight:600}.fc-footer-nav a:hover{color:var(--fc-accent)}
.fc-footer-promise{font-size:11.5px;white-space:nowrap}
@media(max-width:900px){.fc-sitebar-inner{width:min(100% - 32px,var(--fc-shell-max));gap:10px}.fc-sitebrand{min-width:auto}.fc-sitebrand-copy small,.fc-siteutility{display:none}.fc-product-nav a{min-width:100px;padding-inline:14px}.fc-sitefooter-inner{width:calc(100% - 32px);grid-template-columns:1fr auto}.fc-footer-nav{display:none}}
@media(max-width:620px){:root{--fc-shell-h:108px}.fc-sitebar-inner{width:100%;padding:0 16px;display:grid;grid-template-columns:1fr;grid-template-rows:54px 54px;gap:0}.fc-sitebrand{height:54px}.fc-sitebrand-mark{width:27px;height:32px}.fc-sitebrand-copy strong,.fc-sitebrand-copy b{font-size:16px}.fc-product-nav{margin:0 -16px;width:calc(100% + 32px);border-left:0;border-top:1px solid var(--fc-line);overflow-x:auto;scrollbar-width:none}.fc-product-nav::-webkit-scrollbar{display:none}.fc-product-nav a{flex:1;min-width:105px;border-right:1px solid var(--fc-line);padding-inline:12px}.fc-product-nav a[aria-current="page"]:after{left:16px;right:16px}.fc-sitefooter-inner{min-height:84px;display:flex;justify-content:space-between;padding:18px 0}.fc-footer-promise{white-space:normal;text-align:right;max-width:160px}}

/* v1.9.11 — global language control and multilingual content */
.fc-language-control{
  position:fixed;right:16px;bottom:16px;z-index:10050;
  font-family:var(--fc-font);background:rgba(255,255,255,.97);
  border:1px solid var(--fc-line);box-shadow:0 8px 28px rgba(23,26,29,.12);
  padding:6px;border-radius:10px;backdrop-filter:blur(10px)
}
.fc-language-control select{
  max-width:190px;border:0;background:transparent;color:var(--fc-ink);
  font:600 12px/1.2 var(--fc-font);padding:7px 28px 7px 9px;cursor:pointer
}
.fc-language-control select:focus-visible{outline:2px solid var(--fc-accent);outline-offset:2px;border-radius:6px}
.fc-language-suggestion{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:10049;
  display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:9px 10px 9px 14px;
  color:var(--fc-ink);background:#fff;border:1px solid var(--fc-line);border-radius:12px;
  box-shadow:0 10px 30px rgba(23,26,29,.15);font:600 12px/1.35 var(--fc-font)
}
.fc-language-suggestion button{border:1px solid var(--fc-line);border-radius:8px;background:var(--fc-bg);color:var(--fc-ink);padding:6px 10px;font:inherit;cursor:pointer}
.fc-language-suggestion button:first-of-type{background:var(--fc-accent);border-color:var(--fc-accent);color:#fff}
.fc-localized-page,.fc-localized-copy{font-family:var(--fc-font)}
.fc-localized-page{max-width:980px;margin:0 auto;padding:64px 28px 80px;color:var(--fc-ink)}
.fc-localized-page h1{font-size:clamp(2.1rem,5vw,4.6rem);line-height:1.02;letter-spacing:-.045em;margin:.3em 0}
.fc-localized-page h2,.fc-localized-copy h2{letter-spacing:-.025em;margin-top:1.6em;color:var(--fc-ink)}
.fc-localized-page p,.fc-localized-copy p,.fc-localized-copy li{color:var(--fc-ink-soft);line-height:1.72}
.fc-localized-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 42px}
.fc-localized-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--fc-line);border-radius:8px;text-decoration:none;color:var(--fc-ink);font-weight:700}
.fc-localized-actions a:first-child{background:var(--fc-accent);border-color:var(--fc-accent);color:#fff}
.fc-localized-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.fc-localized-grid article{border:1px solid var(--fc-line);border-radius:10px;background:#fff;padding:20px}
.fc-localized-grid article h2{margin-top:0;font-size:1.1rem}.fc-localized-grid article a{color:var(--fc-ink);text-decoration:none}
.fc-localized-copy{width:min(100% - 40px,1080px);margin:38px auto 58px;padding:26px 28px;border:1px solid var(--fc-line);background:var(--fc-surface);border-radius:12px}
.fc-localized-copy h2:first-child{margin-top:0}.fc-localized-copy ol{padding-inline-start:1.5em}
html[dir="rtl"] .fc-sitebar,html[dir="rtl"] .fc-sitefooter,html[dir="rtl"] .fc-localized-page,html[dir="rtl"] .fc-localized-copy{direction:rtl;text-align:right}
html[dir="rtl"] .fc-sitebar-inner{flex-direction:row-reverse}
html[dir="rtl"] .fc-product-nav{margin-left:0;margin-right:auto;border-left:0;border-right:1px solid var(--fc-line)}
html[dir="rtl"] .fc-sitebrand-copy{direction:ltr}
html[dir="rtl"] .fc-language-control{right:auto;left:16px}
/* Keep PDF canvas/editor geometry stable in RTL locales; translate labels but do
   not mirror the coordinate workspace. SEO copy and the shared shell remain RTL. */
html[dir="rtl"] body[data-api]{direction:ltr}
html[dir="rtl"] body[data-api] .fc-sitebar,html[dir="rtl"] body[data-api] .fc-sitefooter,html[dir="rtl"] body[data-api] .seo-intent-copy,html[dir="rtl"] body[data-api] .seo-entry{direction:rtl;text-align:right}
@media(max-width:700px){.fc-localized-grid{grid-template-columns:1fr}.fc-localized-page{padding:42px 20px 64px}.fc-localized-copy{width:calc(100% - 28px);padding:20px}.fc-language-control{right:10px;bottom:10px}.fc-language-control select{max-width:150px}.fc-language-suggestion{bottom:62px}}
