/* Safesigns Studio 2.0.12 — full viewport shell around the native WCST designer. */
:root{--ss-ds-navy:#0b1f3a;--ss-ds-ink:#0f1b2d;--ss-ds-accent:#f7a30a;--ss-ds-line:#dfe4eb;--ss-ds-soft:#f3f5f8;--ss-ds-topbar:66px}
html:has(body.ss-designer-mode){overflow:hidden!important;scroll-behavior:auto;scroll-padding:0}
body.ss-designer-mode{margin:0!important;padding:0!important;background:#f3f5f8;color:var(--ss-ds-ink);overflow:hidden!important;height:100vh;height:100dvh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.ss-designer-mode *{box-sizing:border-box}
body.ss-designer-mode #wpadminbar{display:none!important}
body.ss-designer-mode .ss-ds-app{display:flex;flex-direction:column;height:100vh;height:100dvh;width:100%;max-width:none;margin:0;overflow:hidden;isolation:isolate}
body.ss-designer-mode .ss-ds-topbar{flex:0 0 var(--ss-ds-topbar);height:var(--ss-ds-topbar);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;background:#fff;border-bottom:1px solid var(--ss-ds-line);padding:0 clamp(14px,2.1vw,32px);z-index:20;box-shadow:0 2px 12px rgba(14,35,68,.045)}
body.ss-designer-mode .ss-ds-topbar__start,body.ss-designer-mode .ss-ds-topbar__end{display:flex;align-items:center;min-width:0;gap:10px}
body.ss-designer-mode .ss-ds-topbar__end{justify-content:flex-end}
body.ss-designer-mode .ss-ds-back{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border:1px solid var(--ss-ds-line);border-radius:11px;color:var(--ss-ds-navy);text-decoration:none;background:#fff}
body.ss-designer-mode .ss-ds-back:hover{background:var(--ss-ds-soft);color:var(--ss-ds-navy)}
body.ss-designer-mode .ss-ds-brand{display:flex;align-items:center;max-width:160px;min-width:0;flex-shrink:0}
body.ss-designer-mode .ss-ds-brand__image .custom-logo-link{display:block}
body.ss-designer-mode .ss-ds-brand__image img{display:block;max-width:149px;width:auto;max-height:33px;object-fit:contain}
body.ss-designer-mode .ss-ds-brand__text{font-size:16px;letter-spacing:-.04em;font-weight:850;color:var(--ss-ds-navy);text-decoration:none}
body.ss-designer-mode .ss-ds-mark{color:#ffa500}
body.ss-designer-mode .ss-ds-topbar__sep{height:28px;width:1px;background:var(--ss-ds-line);margin-inline:4px}
body.ss-designer-mode .ss-ds-document{display:flex;flex-direction:column;min-width:0;line-height:1.25}
body.ss-designer-mode .ss-ds-document strong{font-size:14px;white-space:nowrap}
body.ss-designer-mode .ss-ds-document small{font-size:11px;color:#66758d;margin-top:3px;white-space:nowrap}
body.ss-designer-mode .ss-ds-topbar__center{display:flex;align-items:center;gap:8px;color:#64728a;font-size:12px;font-weight:600;white-space:nowrap}
body.ss-designer-mode .ss-ds-status-dot{width:7px;height:7px;background:#29aa73;border-radius:50%;box-shadow:0 0 0 4px #e9f8f0}
body.ss-designer-mode .ss-ds-topbar__button{font:inherit;font-size:13px;font-weight:720;border:1px solid var(--ss-ds-line);border-radius:11px;display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:0 15px;white-space:nowrap;box-shadow:none;cursor:pointer}
body.ss-designer-mode .ss-ds-topbar__button--quiet{background:#fff;color:var(--ss-ds-navy)}
body.ss-designer-mode .ss-ds-topbar__button--quiet:hover{background:var(--ss-ds-soft)}
body.ss-designer-mode .ss-ds-topbar__button--primary{background:var(--ss-ds-navy);border-color:var(--ss-ds-navy);color:white}
body.ss-designer-mode .ss-ds-topbar__button--primary:hover{background:#193963}
body.ss-designer-mode .ss-ds-main{min-height:0;min-width:0;flex:1 1 auto;width:100%;margin:0;padding:0!important;overflow:hidden;background:#eef2f7}
body.ss-designer-mode .ss-ds-plugin{width:100%;height:100%;min-height:0;min-width:0;margin:0;padding:0;overflow:hidden;display:block;max-width:none!important}
body.ss-designer-mode .ss-ds-plugin .ss-ds-editor-root{height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;width:100%!important;max-width:none!important;overflow:hidden}
/* WCST versions name their root differently. Limit these rules to the studio only. */
body.ss-designer-mode .ss-ds-plugin :is(.wcst-sign-designer,.wcst-sign-designer-app,.wcst-designer,.wcst-designer-app,.wcst-designer-root,[data-wcst-designer]){width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important}
body.ss-designer-mode .ss-ds-plugin :is(.wcst-designer-layout,.wcst-designer-workspace,.wcst-designer-editor,.wcst-sign-designer__layout,.wcst-designer__layout){height:100%!important;min-height:0!important;max-height:100%!important}
body.ss-designer-mode .ss-ds-plugin :is(.wcst-designer-canvas,.wcst-designer__canvas,.wcst-designer-stage,.wcst-designer__stage){min-width:0;min-height:0;background:#edf1f6}
body.ss-designer-mode .ss-ds-plugin :is(.wcst-designer-panel,.wcst-designer-sidebar,.wcst-designer__sidebar){background:#fff;min-height:0;overflow:auto}
body.ss-designer-mode .ss-ds-plugin :is(button,[role="button"]):focus-visible{outline:2px solid var(--ss-ds-accent);outline-offset:2px}
/* The assistant never changes the editor's own SVG dimensions or drawing handlers. */
body.ss-designer-mode .ss-ds-backdrop{position:fixed;inset:0;background:rgba(8,19,36,.48);z-index:1009;backdrop-filter:blur(2px)}
body.ss-designer-mode .ss-ds-assistant{position:fixed!important;top:0;right:0;height:100vh;height:100dvh;width:min(460px,100vw);max-width:100vw;display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--ss-ds-line);z-index:1010;box-shadow:-18px 0 50px rgba(4,18,37,.22);transform:translateX(105%);transition:transform .22s cubic-bezier(.2,.7,.2,1);overflow:hidden;color:var(--ss-ds-ink);font-size:14px}
body.ss-designer-mode .ss-ds-assistant[hidden],body.ss-designer-mode .ss-ds-backdrop[hidden]{display:none!important}
body.ss-designer-mode .ss-ds-assistant.is-open{transform:translateX(0)}
body.ss-designer-mode .ss-ds-assistant__header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px 24px 18px;background:#fff}
body.ss-designer-mode .ss-ds-eyebrow{font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#b77808;margin:0 0 5px}
body.ss-designer-mode .ss-ds-assistant__header h2{font-size:22px;margin:0;color:var(--ss-ds-ink);letter-spacing:-.035em}
body.ss-designer-mode .ss-ds-dismiss{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--ss-ds-line);background:#fff;color:var(--ss-ds-navy);cursor:pointer}
body.ss-designer-mode .ss-ds-dismiss:hover{background:#f2f4f8}
body.ss-designer-mode .ss-ds-assistant__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 24px 14px;border-bottom:1px solid var(--ss-ds-line)}
body.ss-designer-mode .ss-ds-assistant__tab{font:inherit;font-size:13px;font-weight:730;padding:10px 8px;border:1px solid transparent;border-radius:9px;background:#f3f5f8;color:#55637b;cursor:pointer}
body.ss-designer-mode .ss-ds-assistant__tab.is-active{color:var(--ss-ds-navy);background:#e9eff9;border-color:#c9d5e8}
body.ss-designer-mode .ss-ds-assistant__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px 36px}
body.ss-designer-mode .ss-ds-assistant__body [hidden]{display:none!important}
body.ss-designer-mode .ss-ds-intro{font-size:13px;line-height:1.6;color:#51617a;margin:0 0 20px}
body.ss-designer-mode .ss-ds-label{display:block;font-size:12px;font-weight:780;margin:16px 0 7px;color:#1c304e}
body.ss-designer-mode .ss-ds-control{display:block;width:100%;max-width:100%;border:1px solid #ced8e5;border-radius:11px;background:#f7f9fc;color:var(--ss-ds-ink);font:inherit;font-size:14px;line-height:1.45;padding:12px 13px;box-shadow:none}
body.ss-designer-mode textarea.ss-ds-control{resize:vertical;min-height:100px}
body.ss-designer-mode .ss-ds-control:focus{background:#fff;border-color:#cf8c1b;outline:2px solid rgba(243,161,6,.16)}
body.ss-designer-mode .ss-ds-quick-prompts{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 20px}
body.ss-designer-mode .ss-ds-quick-prompts button{background:#f3f5f8;border:1px solid #e0e6ed;border-radius:18px;padding:6px 10px;font-size:11px;color:#37506d;cursor:pointer}
body.ss-designer-mode .ss-ds-quick-prompts button:hover{background:#e7eef8}
body.ss-designer-mode .ss-ds-action{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--ss-ds-navy);border-radius:12px;background:var(--ss-ds-navy);color:#fff;font-weight:780;font-size:13px;cursor:pointer}
body.ss-designer-mode .ss-ds-action:hover{background:#18395f}
body.ss-designer-mode .ss-ds-action:disabled{opacity:.56;cursor:progress}
body.ss-designer-mode .ss-ds-action--line{background:#fff;color:var(--ss-ds-navy);margin-top:14px}
body.ss-designer-mode .ss-ds-action--line:hover{background:#f2f5f8}
body.ss-designer-mode .ss-ds-config-note{padding:15px 16px;border:1px solid #e6d6b5;border-radius:12px;background:#fffaf0;color:#55431b;font-size:12px;line-height:1.55;display:flex;flex-direction:column;gap:6px}
body.ss-designer-mode .ss-ds-ai-feedback:not(:empty){padding:12px 14px;margin-top:15px;border-radius:10px;background:#f2f6fa;color:#1e3a57;font-size:12px}
body.ss-designer-mode .ss-ds-ai-feedback.is-error{background:#fff0ee;color:#9b1f19}
body.ss-designer-mode .ss-ds-ai-result{border:1px solid var(--ss-ds-line);border-radius:14px;padding:18px;margin-top:16px;background:#fbfcff;color:var(--ss-ds-ink)}
body.ss-designer-mode .ss-ds-ai-result__title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;letter-spacing:.07em;font-weight:800;text-transform:uppercase;color:#52617a;margin:0 0 10px}
body.ss-designer-mode .ss-ds-ai-result__title button{border:0;background:none;color:#9a6708;font-size:11px;font-weight:800;cursor:pointer}
body.ss-designer-mode .ss-ds-ai-result h3{font-size:18px;margin:0 0 10px}
body.ss-designer-mode .ss-ds-ai-result p{font-size:13px;line-height:1.6;margin:0 0 10px;color:#40516b}
body.ss-designer-mode .ss-ds-compliance-note{border-left:3px solid #cf9a24;padding:10px 12px;background:#fff9ec;font-size:12px;line-height:1.6;color:#5e4b22}
body.ss-designer-mode .ss-ds-standards{margin-top:22px;padding:17px 18px;border-radius:13px;background:#f3f5f8;border:1px solid #e2e7f0}
body.ss-designer-mode .ss-ds-standards strong{font-size:13px;color:#19304d}
body.ss-designer-mode .ss-ds-standards p{color:#53647c;font-size:12px;line-height:1.65;margin:7px 0}
body.ss-designer-mode .ss-ds-standards a{font-size:12px;font-weight:730;color:#8d5700;text-decoration:underline}
body.ss-designer-mode .ss-ds-vector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}
body.ss-designer-mode .ss-ds-vector-grid button{border:1px solid #dce3ed;border-radius:12px;background:#fff;min-height:78px;display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;cursor:pointer;color:#2b405f;font-size:11px;font-weight:720}
body.ss-designer-mode .ss-ds-vector-grid button span{font-size:27px;font-weight:600;line-height:1}
body.ss-designer-mode .ss-ds-vector-grid button.is-selected{border-color:#c28c1d;box-shadow:0 0 0 2px rgba(243,161,6,.14);background:#fffaf0}
body.ss-designer-mode .ss-ds-vector-stage{height:210px;border:1px solid #dfe6ee;border-radius:14px;background:repeating-conic-gradient(#f6f8fc 0% 25%,#fff 0% 50%) 50% / 25px 25px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:24px;margin:16px 0 18px}
body.ss-designer-mode .ss-ds-vector-stage svg{width:min(100%,140px);height:min(100%,140px);max-width:100%;max-height:100%;display:block;filter:drop-shadow(0 5px 9px rgba(18,35,61,.12))}
body.ss-designer-mode .ss-ds-vector-colors{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 18px}
body.ss-designer-mode .ss-ds-vector-colors label{font-size:13px;font-weight:730;white-space:nowrap}
body.ss-designer-mode .ss-ds-vector-colors select{width:58%;max-width:210px}
body.ss-designer-mode .ss-ds-vector-footnote{font-size:12px;line-height:1.6;color:#6b7b90;margin:14px 0 0}
body.ss-designer-mode :is(.ss-ds-topbar__button,.ss-ds-dismiss,.ss-ds-back,.ss-ds-assistant__tab,.ss-ds-action):focus-visible{outline:3px solid #f2b444;outline-offset:2px}
@media(max-width:900px){:root{--ss-ds-topbar:58px}body.ss-designer-mode .ss-ds-topbar{grid-template-columns:minmax(0,1fr) auto;padding:0 12px;gap:8px}body.ss-designer-mode .ss-ds-topbar__center{display:none}body.ss-designer-mode .ss-ds-topbar__button{min-height:38px;padding:0 11px}body.ss-designer-mode .ss-ds-document small{display:none}body.ss-designer-mode .ss-ds-assistant__header{padding:20px 20px 15px}body.ss-designer-mode .ss-ds-assistant__tabs{padding:0 20px 14px}body.ss-designer-mode .ss-ds-assistant__body{padding:19px 20px 30px}}
@media(max-width:570px){:root{--ss-ds-topbar:55px}body.ss-designer-mode .ss-ds-topbar__start{gap:6px}body.ss-designer-mode .ss-ds-brand{display:none}body.ss-designer-mode .ss-ds-document strong{font-size:13px}body.ss-designer-mode .ss-ds-topbar__sep{display:none}body.ss-designer-mode .ss-ds-back{width:35px;height:35px;flex-basis:35px}body.ss-designer-mode .ss-ds-topbar__end{gap:6px}body.ss-designer-mode .ss-ds-topbar__button{width:39px;height:39px;padding:0}body.ss-designer-mode .ss-ds-topbar__button svg{width:19px;height:19px}body.ss-designer-mode .ss-ds-topbar__button span{display:none}body.ss-designer-mode .ss-ds-assistant{width:100vw}body.ss-designer-mode .ss-ds-vector-grid{gap:7px}body.ss-designer-mode .ss-ds-vector-grid button{min-height:70px}}
@media(prefers-reduced-motion:reduce){body.ss-designer-mode .ss-ds-assistant{transition:none}}

/* Actual WCST Sign Designer 1.9.x integration. Override the plugin's dynamic
   full-viewport class only inside Safesigns Studio, not on product pages. */
body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer{
  --navy:#0b1f3a;--ink:#142741;--amber:#f7a30a;--line:#dce3ed;
  position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;
  margin:0!important;border:0!important;box-shadow:none!important;z-index:1!important;
  grid-template-columns:92px 0 minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;
  grid-template-areas:"sidebar panel main"!important;overflow:hidden!important;
}
body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer.wcst-designer--panel-open{
  grid-template-columns:92px 310px minmax(0,1fr)!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-sidebar{
  grid-area:sidebar!important;align-items:center!important;background:#112746!important;padding:14px 7px!important;gap:8px!important;
  flex-direction:column!important;overflow:auto!important;max-height:100%!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-step{width:77px!important;min-height:70px!important;color:#c5d0dd!important;font-size:11px!important;gap:5px!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-step span{width:43px!important;height:43px!important;border-radius:11px!important;font-size:20px!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-step.is-active span{color:#112746!important;background:#f7a30a!important;border-color:#f7a30a!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-step.is-active{color:#fff!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-panel{
  grid-area:panel!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;
  border-right:1px solid #dde5ee!important;background:white!important;box-shadow:none!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-panel-inner{max-height:100%;height:100%;overflow-y:auto!important;padding:0 16px 22px!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-main{
  grid-area:main!important;grid-column:auto!important;display:grid!important;grid-template-rows:54px minmax(0,1fr) auto!important;
  min-width:0!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-topbar{
  min-height:54px!important;max-height:54px!important;overflow-x:auto!important;overflow-y:hidden!important;
  border-bottom:1px solid #dce3ed!important;background:#fff!important;scrollbar-width:thin;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-topbar button{min-width:36px!important;min-height:38px!important;border-radius:9px!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-topbar button:hover{background:#f2f5f9!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-stage-wrap{
  min-height:0!important;max-height:100%!important;overflow:hidden!important;display:grid!important;place-items:center!important;
  background:radial-gradient(circle at 55% 40%,#f7f9fc,#e9eef5)!important;padding:22px!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-stage{min-height:0!important;max-height:100%!important;display:grid!important;place-items:center!important;margin:auto!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-bottombar{
  position:relative!important;z-index:3!important;min-height:75px!important;width:100%!important;margin:0!important;
  border-top:1px solid #dce3ed!important;background:#fff!important;
}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-accordion{border-radius:11px!important;box-shadow:none!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-panel-head{background:#fff!important}
body.ss-designer-mode .ss-ds-plugin .wcst-designer-icon{border-radius:10px!important}
@media(max-width:1100px){
 body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer{grid-template-columns:75px 0 minmax(0,1fr)!important;grid-template-areas:"sidebar panel main"!important;grid-template-rows:minmax(0,1fr)!important}
 body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer.wcst-designer--panel-open{grid-template-columns:75px 280px minmax(0,1fr)!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-sidebar{flex-direction:column!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-step{width:64px!important;min-height:63px!important;font-size:10px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-step span{width:39px!important;height:39px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-main{grid-area:main!important;grid-column:auto!important}
}
@media(max-width:750px){
 body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer,
 body.ss-designer-mode.wcst-designer-page .ss-ds-plugin .wcst-designer.wcst-designer--panel-open{
   grid-template-columns:58px 0 minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;grid-template-areas:"sidebar panel main"!important;
 }
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-sidebar{grid-area:sidebar!important;padding:9px 3px!important;gap:7px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-step{width:51px!important;min-height:53px!important;font-size:9px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-step span{width:35px!important;height:35px!important;font-size:17px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-panel{
   position:absolute!important;top:0!important;left:58px!important;bottom:0!important;right:auto!important;
   width:min(310px,calc(100vw - 58px))!important;height:100%!important;max-height:100%!important;
   background:#fff!important;z-index:50!important;box-shadow:12px 0 28px rgba(9,30,55,.12)!important;
 }
 body.ss-designer-mode .ss-ds-plugin .wcst-designer:not(.wcst-designer--panel-open) .wcst-designer-panel{display:none!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-main{grid-area:main!important;grid-column:3!important;grid-template-rows:50px minmax(0,1fr) auto!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-topbar{min-height:50px!important;max-height:50px!important;padding:0 4px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-topbar button{min-width:32px!important;min-height:36px!important;padding:0 7px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-stage-wrap{padding:10px!important}
 body.ss-designer-mode .ss-ds-plugin .wcst-designer-bottombar{padding:10px!important;min-height:68px!important}
}
