@font-face{font-family:"DM Sans";src:url("/share-dm-sans.ttf") format("truetype");font-weight:100 1000;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/share-instrument-serif.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/share-ibm-plex-mono.ttf") format("truetype");font-weight:500;font-display:swap}
[data-share-font="dm-sans"]{font-family:"DM Sans",sans-serif}
[data-share-font="instrument-serif"]:is(.share-brand,.share-slogan){font-family:"Instrument Serif",Georgia,serif;font-weight:400}
[data-share-font="ibm-plex-mono"]:is(.share-brand,.share-slogan){font-family:"IBM Plex Mono",monospace;font-weight:500}

#share-brand[hidden],#site-wordmark[hidden],.share-slogan[hidden]{display:none}
.share-brand{display:flex;align-items:center;gap:12px;min-width:0;font-size:clamp(16px,2.6vw,22px);font-weight:720;line-height:1.25}
.share-brand span{overflow-wrap:anywhere}
.share-brand img{display:block;flex:none;width:auto;max-width:min(120px,28vw);height:auto;max-height:48px;object-fit:contain}
#share-brand{max-width:75%}
:is(#share-brand,#share-branding-preview){--share-fitted-logo-height:var(--share-logo-height,48px)}
:is(#share-brand,#share-branding-preview) img{
  height:var(--share-fitted-logo-height);
  max-height:var(--share-fitted-logo-height);
  max-width:min(calc(2.5 * var(--share-fitted-logo-height)),28vw,100%);
}
:is(#share-brand,#share-branding-preview) img:has(+ span){max-width:min(calc(2.5 * var(--share-fitted-logo-height)),28vw,50%)}
.share-dialog-heading{min-width:0}
.share-dialog-heading .share-dialog-brand{margin-bottom:9px;font-size:14px;color:var(--accent)}
.share-dialog-brand img{max-width:85px;max-height:30px}
.share-slogan{justify-self:center;margin:0;max-width:100%;text-align:center;font-size:clamp(16px,1.6vw,26px);line-height:1.3;overflow-wrap:anywhere}
[data-slogan-position="left"]>.share-slogan{justify-self:start;text-align:left}
[data-slogan-position="right"]>.share-slogan{justify-self:end;text-align:right}

#settings-dialog .share-branding-fields{border:0;margin:0;padding:0;min-width:0}
.share-branding-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px}
.share-branding-row label{display:grid;gap:7px;min-width:0}
.share-branding-fields input[type=file]{max-width:100%;padding:8px}
.share-branding-logo-size{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px}
.share-branding-logo-size input{width:100%;min-width:0;accent-color:var(--accent)}
.share-branding-logo-size output{min-width:6ch;text-align:end;font-variant-numeric:tabular-nums}
.share-branding-preview{padding:16px;margin-top:17px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.share-branding-preview>.form-note{margin-top:0}
.share-branding-preview .share-brand{min-height:40px}
.share-branding-preview-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px;align-items:center}
.share-branding-preview-header:has(.share-slogan[hidden]){display:block}
.share-branding-preview-action{display:inline-block;margin-top:12px;padding:8px 13px;border-radius:12px;background:var(--accent);color:white;font-weight:650}

[data-share-accent="standard"]{--accent:#176bc7;--soft:#dceafa;--share-viewer:#101823;--share-viewer-bar:#15202d;--share-viewer-focus:#a9d4ff}
[data-share-accent="graphite"]{--accent:#445264;--soft:#e8edf2;--share-viewer:#161a21;--share-viewer-bar:#222832;--share-viewer-focus:#d0e0f2}
[data-share-accent="forest"]{--accent:#236650;--soft:#e1f0e9;--share-viewer:#101c19;--share-viewer-bar:#182a24;--share-viewer-focus:#b4e9d5}
[data-share-accent="burgundy"]{--accent:#883f62;--soft:#f4e4ec;--share-viewer:#20151b;--share-viewer-bar:#302029;--share-viewer-focus:#f5c9df}
body.public-page[data-share-accent] .primary{background:var(--accent);box-shadow:none}
body.public-page[data-share-accent] .primary:hover{background:var(--accent);filter:brightness(.92)}
body.public-page[data-share-accent] .panel-dialog{border-top:3px solid var(--accent)}
body.public-page[data-share-accent] #site-header:has(#share-slogan:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr)}
body.public-page[data-share-accent] #site-header[data-slogan-position="left"]:has(#share-slogan:not([hidden])),
body.public-page[data-share-accent] #site-header[data-slogan-position="right"]:has(#share-slogan:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) auto}
body.public-page[data-share-accent] #site-header:has(#share-slogan:not([hidden])) #share-brand{max-width:100%}
body.public-page[data-share-accent] #viewer,
body.public-page[data-share-accent] #viewer-screen,
body.public-page[data-share-accent] #viewer-stage{background:var(--share-viewer)}
body.public-page[data-share-accent] .viewer:not(.viewer-expanded) .viewer-header{background:var(--share-viewer-bar)}
body.public-page[data-share-accent] .viewer #viewer-fullscreen:focus-visible,
body.public-page[data-share-accent] .viewer #viewer-info:focus-visible,
body.public-page[data-share-accent] .viewer #viewer-previous:focus-visible,
body.public-page[data-share-accent] .viewer #viewer-next:focus-visible{outline:2px solid var(--share-viewer-focus);outline-offset:2px}
body.public-page[data-share-accent] .viewer-expanded #viewer-fullscreen,
body.public-page[data-share-accent] .viewer-expanded #viewer-previous,
body.public-page[data-share-accent] .viewer-expanded #viewer-next{color:var(--share-viewer-focus)}

@media(min-width:651px){
  body.public-page[data-share-accent] #site-header:has(#share-brand img){
    --share-header-inset:22px;
    padding-block:max(4px,calc(var(--share-header-inset) - (var(--share-logo-height,48px) - 48px) / 2));
  }
}
@media(min-width:651px) and (max-width:1000px){
  body.public-page[data-share-accent] #site-header:has(#share-brand img){--share-header-inset:18px}
}
@media(max-width:850px){
  body.public-page[data-share-accent] #site-header[data-slogan-position]:has(#share-slogan:not([hidden])){grid-template-columns:minmax(0,1fr) auto}
  #share-slogan{grid-column:1/-1;grid-row:2}
}
@media(max-width:650px){
  #share-brand{max-width:100%;flex:1}
  :is(#share-brand,#share-branding-preview){
    --share-fitted-logo-height:min(clamp(39px,calc(var(--share-logo-height,48px) * 0.6),56px),max(39px,12vw));
  }
}
@media(max-width:480px){
  .share-branding-row,.share-branding-preview-header{grid-template-columns:minmax(0,1fr)}
  .share-branding-preview-header{gap:8px}
}
