/* ARBOR Fund's existing green, navy, pale slate and Open Sans visual system. */
html:has(.arbor-deck-page){height:100%;margin-top:0!important}
body.arbor-deck-page{margin:0;background:#f3f5f8;color:#040d23;font-family:"Open Sans",Arial,sans-serif;font-size:14px;line-height:1.5}
#arbor-deck,#arbor-deck *{box-sizing:border-box}
#arbor-deck{height:100vh;height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#f3f5f8;isolation:isolate}
body.admin-bar #arbor-deck{height:calc(100dvh - 32px);margin-top:32px}
#arbor-deck .deck-header{display:flex;align-items:center;gap:24px;padding:12px 28px;border-bottom:1px solid #e0e6ea;background:white;min-height:86px}
#arbor-deck .deck-brand{display:flex;align-items:center;flex:none}
#arbor-deck .deck-brand img{display:block;width:126px;height:58px;object-fit:contain}
#arbor-deck h1{margin:0;font:600 21px/1.3 "Open Sans",Arial,sans-serif;letter-spacing:-.02em;color:#040d23}
#arbor-deck a{text-underline-offset:3px}
#arbor-deck #deck-download{margin-left:auto;display:flex;align-items:center;gap:9px;padding:10px 15px;min-height:44px;background:#285c00;border:1px solid #285c00;border-radius:4px;color:#fff;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
#arbor-deck #deck-download:hover{background:#1d4300}
#arbor-deck .deck-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 28px;background:white;border-bottom:1px solid #e0e6ea}
#arbor-deck .deck-pages,#arbor-deck .deck-tools,#arbor-deck .deck-zoom{display:flex;align-items:center;gap:8px}
#arbor-deck button,#arbor-deck select{font:600 14px/1.2 "Open Sans",Arial,sans-serif;color:#040d23;border:1px solid #d5dce2;background:#fff;border-radius:4px;min-width:44px;height:44px;padding:0 11px;margin:0;box-shadow:none;cursor:pointer;text-transform:none;letter-spacing:normal}
#arbor-deck button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#arbor-deck button:hover:not(:disabled),#arbor-deck select:hover:not(:disabled){background:#eef2f5;border-color:#a7b2bf}
#arbor-deck button:disabled,#arbor-deck select:disabled{opacity:.4;cursor:default}
#arbor-deck button svg{flex:none}
#arbor-deck select{padding-left:12px;padding-right:26px;min-width:62px;font-variant-numeric:tabular-nums}
#arbor-deck .deck-count{margin-right:4px;color:#4f5350;white-space:nowrap}
#arbor-deck .deck-pages label{margin:0 0 0 5px;font-weight:400}
#arbor-deck #deck-zoom-value{font-variant-numeric:tabular-nums;min-width:45px;text-align:center}
#arbor-deck .deck-zoom{margin-right:10px}
#arbor-deck #deck-stage{min-height:0;overflow:auto;display:flex;padding:24px;position:relative;scrollbar-color:#939796 #e0e6ea;overscroll-behavior:contain;outline-offset:-4px}
#arbor-deck #deck-sheet{position:relative;flex:none;margin:auto;background:white;box-shadow:0 8px 24px rgba(4,13,35,.12)}
#arbor-deck #deck-canvas{display:block;max-width:none}
#arbor-deck #deck-error{margin:auto;padding:28px;max-width:480px;text-align:center}
#arbor-deck #deck-error[hidden]{display:none}
#arbor-deck #deck-error button{margin-right:18px}
#arbor-deck #deck-error a{color:#285c00}
#arbor-deck .deck-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 28px 13px;color:#4f5350;background:#f3f5f8;font-size:12px;min-height:44px}
#arbor-deck .deck-footer p{margin:0}
#arbor-deck .deck-tip{white-space:nowrap}
#arbor-deck :focus-visible,.deck-skip:focus-visible{outline:3px solid #285c00;outline-offset:3px}
#arbor-deck ::selection{background:#cbe2b8;color:#040d23}
.deck-skip{position:fixed;left:16px;top:-80px;z-index:2147483647;background:white;color:#285c00;padding:12px 18px}
.deck-skip:focus{top:12px}
#arbor-deck:fullscreen,#arbor-deck.is-expanded{height:100vh;height:100dvh;width:100%;margin:0!important}
#arbor-deck.is-expanded{position:fixed;inset:0;z-index:2147483000}
#arbor-deck .deck-noscript{position:absolute;top:45%;left:5%;width:90%;text-align:center}
@media(max-width:782px){body.admin-bar #arbor-deck{height:calc(100dvh - 46px);margin-top:46px}}
@media(max-width:640px){
 #arbor-deck .deck-header{padding:10px 14px;gap:14px;min-height:76px;flex-wrap:wrap}
 #arbor-deck .deck-brand img{width:100px;height:46px}
 #arbor-deck h1{font-size:17px}
 #arbor-deck #deck-download{padding:8px 10px;font-size:12px;gap:6px}
 #arbor-deck .deck-desktop-label{display:none}
 #arbor-deck .deck-toolbar{padding:8px 12px;gap:8px;flex-wrap:wrap;justify-content:center}
 #arbor-deck .deck-pages{justify-content:center;flex:1 1 100%}
 #arbor-deck .deck-tools{justify-content:center;gap:8px}
 #arbor-deck .deck-zoom{margin-right:0;gap:4px}
 #arbor-deck button{padding:0 9px;font-size:12px;gap:6px}
 #arbor-deck #deck-stage{padding:10px}
 #arbor-deck .deck-footer{padding:10px 14px;font-size:11px;gap:10px}
}
@media(max-width:380px){#arbor-deck h1{order:3;flex:1 1 100%;text-align:center;font-size:16px}#arbor-deck .deck-header{row-gap:5px}#arbor-deck .deck-footer{flex-wrap:wrap;justify-content:center;gap:2px}}
@media(max-height:500px) and (min-width:641px){#arbor-deck .deck-header{min-height:56px;padding:5px 20px}#arbor-deck .deck-brand img{height:40px;width:100px}#arbor-deck .deck-toolbar{padding:5px 20px}#arbor-deck #deck-stage{padding:10px}#arbor-deck .deck-footer{min-height:28px;padding:5px 20px}}
