.jiyadiv{
    max-width: 25rem;
    border: 1px solid #eee;
    padding: 0.5rem;
    margin: auto;
    border-radius: 3px;
}

.night .jiyadiv{
    border:1px solid #444;
}

.jiyadiv>button{
    width: 100%;
    padding: 0.35rem;
    margin-top: 0.5rem;
    background-color: #03A9F4;
    color: #fff;
    border: 1px solid #03A9F4;
    border-radius: 3px;
    cursor: pointer;
}

.jiyadivtype{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.night .jiyadivtype{
    border-bottom: 1px solid #444;
}

.jiyadivtype button{
    border: 1px solid #eee;
    background-color: #f6f7fa;
    padding: 0.35rem 0;
    border-radius: 3px;
    cursor: pointer;
}

.night .jiyadivtype button{
    border: 1px solid #444;
    background-color: #181a1b;
    color: #bbb;
}

.jiyadivtype button.act{
    background-color: #05b672;
    border: 1px solid #05b672;
    color: #fff;
}

.jiyadivinput{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.night .jiyadivinput{
    border-bottom: 1px solid #444;
}

.jiyadivinput>div{

}

.jiyadivinput>div label{
    
}

.jiyadivinput>div input{
    margin-top: 0.5rem;
}


.jiyadivinput>div input[type="number"]::-webkit-outer-spin-button,
.jiyadivinput>div input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jiyadivinput>div input[type="number"] {
  -moz-appearance: textfield;
}

/****************************************************************/

.resjitu{
    max-width: 25rem;
    margin: auto;
    margin-top: 0.5rem;
    display: none;
}

#result-section{
    border: 1px solid #eee;
    background-color: #f6f7fa;
    padding: 0.5rem;
    border-radius: 3px;
}

.night #result-section{
    border: 1px solid #444;
    background-color: #181a1b;
}

.resdivs>div:nth-child(1){
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 0.5rem;
}

.resdivs>div:nth-child(1)>div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #fff;
    border:1px solid #eee;
    border-radius: 3px;
}

.night .resdivs>div:nth-child(1)>div{
    background-color: #232627;
    border:1px solid #444;
}

.resdivs>div:nth-child(2){
    background-color: #fff;
    border:1px solid #eee;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.35rem 0;
    border-radius: 3px;
}

.night .resdivs>div:nth-child(2){
    background-color: #232627;
    border:1px solid #444;
}

.night .resdivs>div:nth-child(2)>div{
    background-color: #232627;
}

.resnodivs{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 0.5rem 0;
    border-radius: 3px;
    border: 1px solid #eee;
}

.night .resnodivs{
    background-color: #232627;
    border: 1px solid #444;
}

#solution-section{
    margin-top: 0.5rem;
    border: 1px solid #eee;
    background-color: #f6f7fa;
}

.night #solution-section {
    border: 1px solid #444;
    background-color: #181a1b;
}

#solution-section>div:nth-child(1){
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    border-radius: 3px;
}

.night #solution-section>div:nth-child(1){
    border-bottom: 1px solid #444;
}

#solution-section>div:nth-child(1)>div:nth-child(1){
    font-size: 0.7rem;
}

#solution-section>div:nth-child(1)>div:nth-child(2){
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.75rem;
}

#solution-section>div:nth-child(1)>div:nth-child(2)>span{
    cursor: pointer;
}

#solution-section>div:nth-child(1)>div:nth-child(2)>span.act{
    color: #FF9800;
}

#solution-section>div:nth-child(2){
    padding: 0.5rem;
}

.step-list{
    background-color: #fff;
    padding: 0.5rem;
    border:1px solid #eee;
    border-radius: 3px;
}

.night .step-list{
    background-color: #232627;
    border:1px solid #444;
}

.step-list li{
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.75rem;
    counter-increment: step-counter;
}

.step-list li>span:nth-child(1){
    font-weight: 700;
    color: #423124;
    margin-bottom: 0.35rem;
    display: block;
    font-size: 1.05em;
}

.night .step-list li>span:nth-child(1){
    color: #888;
}

.step-list li::before{
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 0.8rem;
    height: 0.8rem;
    background: #607D8B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.math-board {
    background-color: #f6f7fa;
    border: 1px solid #eee;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    margin: 0.75rem 0;
    position: relative;
    overflow: hidden;
}

.night .math-board{
    background-color: #181a1b;
    border: 1px solid #444;
}

.math-result-line {
    border-top: 1px solid #e85d05;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #e65b03;
}

.step-list li p{
    font-size: 0.65rem;
    line-height: 1.4rem;
}

.steptip{
    background-color: #fff;
    text-align: center;
    padding: 0.75rem;
    border:1px solid #eee;
    border-radius: 3px;
}

.night .steptip{
    background-color: #232627;
    border: 1px solid #444;
}

.steptip p{
    font-size: 0.65rem;
    line-height: 1.4rem;
}

.steptip span{
    margin: 0 0.25rem;
    color: #ff9800;
}