
@import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@200..500&family=Manrope:wght@300..800&display=swap');

/* Minimal styles borrowed from STS for event-enabled elements and demo buttons */
a:visited,a[event]{
    color: hsl(0deg 0% 0%);
    text-decoration: underline;
    cursor: pointer;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background-repeat: no-repeat;
}
*,:after,:before{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.mono{
    font-family: "Azeret Mono", monospace;
}

.dyn-tpl .lev-1{
    height: -webkit-fill-available;
}
.dyn-tpl div.tpl{
    display: grid;
}

#content,#content > .lev-0{
    padding: 0;
    margin:0;
    min-height: 100vh;
    height: 100vh
}
#content{
    width: 100vw;
    padding: .5em;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Region z-index hierarchy for proper layering */
.dyn-tpl [region] {
    position: relative;
    z-index: 1; /* Base z-index for content regions */
    width: auto;
    max-width: 100%;
    height: -webkit-fill-available;
    padding: 0;
    margin: 0;
}

.dyn-tpl div[region="0"]{
    z-index: 0; /* Empty regions below content regions */
}

#content div[region="1"] {
    /* Main content area */
    padding: .5em; /* 20px = 1.25em */
}

