:root{--ink:#042630;--teal:#4A7272;--mint:#86B9B2;--paper:#F5F7F7;--soft:#D0D6D6}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,"Segoe UI",Tahoma,sans-serif;background:var(--paper);color:var(--ink)}
body{display:flex;flex-direction:column}
.doc-header{height:72px;margin:16px 24px 0;border-radius:22px;background:rgba(208,214,214,.5);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:16px;z-index:5}
.doc-home{color:var(--teal);text-decoration:none;font-weight:700;letter-spacing:.08em}
.doc-langs{display:flex;gap:12px;direction:ltr}
.doc-langs a{font-size:12px;font-weight:700;text-decoration:none;color:var(--mint)}
.doc-langs a.active,.doc-langs a:hover{color:var(--teal)}
.doc-shell{width:min(1180px,calc(100% - 48px));margin:28px auto 40px;display:flex;flex-direction:column;gap:18px;flex:1}
.doc-title-row{display:flex;align-items:end;justify-content:space-between;gap:18px}
.doc-title{margin:0;font-size:clamp(28px,4vw,48px);font-weight:700;color:var(--teal)}
.doc-note{margin:0;color:var(--teal);font-size:14px}
.pdf-frame{width:100%;height:calc(100vh - 180px);min-height:720px;border:0;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(4,38,48,.08)}
.doc-empty{min-height:55vh;border-radius:20px;background:#fff;display:grid;place-items:center;text-align:center;padding:40px;box-shadow:0 12px 32px rgba(4,38,48,.06)}
.doc-empty h2{margin:0 0 10px;color:var(--teal)}
.doc-empty p{margin:0;max-width:560px;line-height:1.8;color:#6b7d7d}
.doc-open{display:inline-flex;margin-top:16px;padding:10px 18px;border-radius:999px;background:var(--ink);color:#fff;text-decoration:none}
@media(max-width:700px){.doc-header{margin:10px 12px 0;height:64px;padding:0 18px}.doc-shell{width:calc(100% - 24px);margin-top:18px}.doc-title-row{align-items:flex-start;flex-direction:column}.pdf-frame{height:calc(100vh - 160px);min-height:600px;border-radius:14px}}


/* V79 — Bermor motion logo is the Home control on document pages */
.doc-home{display:none !important}
.bermor-home-motion{display:inline-flex;align-items:center;width:132px;height:40px;text-decoration:none;direction:ltr}
.bermor-home-motion__stage{position:relative;display:block;width:114px;height:24px}
.bermor-home-motion__full,.bermor-home-motion__anim{position:absolute;inset:0;width:114px;height:24px;object-fit:contain;object-position:left center}
.bermor-home-motion__full{z-index:1}.bermor-home-motion__anim{z-index:2}
@media(max-width:700px){.bermor-home-motion{width:112px}.bermor-home-motion__stage,.bermor-home-motion__full,.bermor-home-motion__anim{width:100px;height:22px}}


/* =========================================================
   V80 — unified Bermor glass header + home motion
   ========================================================= */
.doc-header{
  height:64px !important;
  margin:16px 24px 0 !important;
  padding:0 48px !important;
  border:0 !important;
  border-radius:20px !important;
  background:rgba(208,215,215,.50) !important;
  -webkit-backdrop-filter:blur(8px) saturate(108%) !important;
  backdrop-filter:blur(8px) saturate(108%) !important;
  box-shadow:none !important;
  top:16px !important;
  z-index:1800 !important;
  direction:ltr !important;
}
.doc-langs{order:1 !important}
.bermor-home-motion{
  order:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:105px !important;
  height:24px !important;
  margin:0 !important;
  direction:ltr !important;
}
.bermor-home-motion__stage,
.bermor-home-motion__full,
.bermor-home-motion__anim{width:105px !important;height:24px !important}
.bermor-home-motion__stage{position:relative !important;display:block !important}
.bermor-home-motion__full,
.bermor-home-motion__anim{
  position:absolute !important;
  inset:0 !important;
  object-fit:contain !important;
  object-position:right center !important;
  pointer-events:none !important;
}
.bermor-home-motion__full{z-index:1 !important}
.bermor-home-motion__anim{z-index:2 !important}
.bermor-home-motion:focus-visible{outline:2px solid rgba(74,114,114,.45);outline-offset:8px;border-radius:8px}
@media(max-width:700px){
  .doc-header{height:64px !important;margin:8px 12px 0 !important;padding:0 24px !important;top:8px !important}
  .bermor-home-motion,.bermor-home-motion__stage,.bermor-home-motion__full,.bermor-home-motion__anim{width:105px !important;height:24px !important}
}
