/* ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {background: transparent;}
::-webkit-scrollbar-thumb {
    background: rgba(148, 148, 152, 0.4);
    border-radius: 3px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {background: rgba(109, 175, 133, 0.6);}
html {
    scrollbar-color: rgba(148, 148, 152, 0.4) transparent;
    scrollbar-width: thin;
    overscroll-behavior-y: auto;
} */


a{
    text-decoration: none;
    color: rgb(220, 197, 142);
}
a:hover{color: rgb(255, 230, 104);}
body {
    /* font-family: sans-serif; */
    /* font-family: 'Arial', sans-serif; */
    /* font-family: 'Times New Roman', Times, serif; */
    /* font-family:'Courier New', Courier, monospace; */
    /* font-family: 'Georgia', serif; */
    overscroll-behavior-y: auto;
    font-family: "Arbutus Slab", serif; 
        /* I like this */
    padding: 40px;
    /* padding-top: 0; */
    color: #333;
    background-color: #fafafa;
}
p, li{
    color: rgb(67, 74, 67);
    /* text-shadow: 3px 1px 2px rgba(55, 30, 142, 0.136), 0 0 5px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229); */
}
h1, h2, h3 { 
    font-family: "Fredericka the Great", serif;
    text-shadow: 1px 1px 2px rgba(55, 30, 142, 0.136), 0 0 2px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229);
    /* text-shadow: 3px 1px 2px rgba(55, 30, 142, 0.136), 0 0 5px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229); */
    color: rgb(78, 82, 145); 
    /* color: rgb(173, 184, 177);  */
}
h4, h5, h6 {
    font-family: "Fredericka the Great", serif;
    text-shadow: 1px 1px 1px rgba(55, 30, 142, 0.136), 0 0 2px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229);
    /* text-shadow: 3px 1px 2px rgba(55, 30, 142, 0.136), 0 0 5px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229); */
    /* color: rgb(147, 167, 154);  */
    color: rgb(158, 174, 189); 
    /* color: rgb(179, 184, 173);  */
}

.write-block{
    color: rgb(65, 65, 65);
    text-shadow: 0px 0px 1px gray;
    font-size: 13px;
}
.cmd-block { 
    background: #eee; 
    padding: 15px; 
    border-radius: 5px; 
    font-family: Consolas, monospace; 
    font-size: 0.9em; 
    overflow-x: auto;
}
.cold-tree-cmd{
    /* background: #eee;  */
    position: relative;
    background: linear-gradient(to right, #eee, #f6f6f6);
    padding: 15px; 
    border-radius: 5px; 
    line-height: 1.5;
    font-family: Consolas, monospace; 
    font-size: 0.9em; 
    overflow-x: auto;
    color: #788a8f;
    margin-bottom: 8px !important;
}
.todo-block{
    font-size: 0.9em;
    outline: 1px solid gray;
    width: 200px;
}
.gray-text { color: #c4c4c4; }

.border-left-golden{ border-left: 3px solid rgb(220, 197, 142); }
.border-left-golden-thin{ border-left: 1px solid rgb(220, 197, 142); }
.border-left-gray{ border-left: 3px solid rgb(215, 215, 215)}
.border-left-cold-tree{ border-left: 3px solid #bfcacd; }

.cold-tree-color{ color: #bfcacd; }

highlight {
    color: #788a8f;
    text-shadow: 1px 1px 1px rgb(222, 238, 213);
}

.hide-things {
    max-width: 750px;
    display: inline-block;
        vertical-align: top;
        margin-right: 4px;
        margin-top: -8px;
        /* margin: 12px 0; */
        font-family: "Arbutus Slab", serif;
        /* background-color: #fcfcfca4; */
        /* transition: all 0.2s ease; */
    }
    .hide-things summary {
        cursor: pointer;
        /* padding: 6px 10px; */
        padding: 1px 6px 9px;
        color: #d1d7d9;
        /* color: #788a8f; */
        font-size: 13px;
        outline: none;
        user-select: none;
        list-style: none;
    }
    .hide-things summary::-webkit-details-marker { display: none; }
    
    .hide-things summary:hover { color: #bfcacd; }
    .hide-things[open] {
        margin-right: 100px;
        margin-bottom: 15px;
        border-left: 2px solid #bfcacd;
    }

.golden-inside {
    max-width: 750px;
    display: inline-block;
        vertical-align: top;
        margin-right: 4px;
        margin-top: 0px;
        font-family: "Arbutus Slab", serif;
        padding-left: 3px;
    }
    .golden-inside summary {
        cursor: pointer;
        padding: 1px 6px 9px;
        color: #d9d6d1;
        font-size: 13px;
        outline: none;
        user-select: none;
        list-style: none;
    }
    .golden-inside summary::-webkit-details-marker { display: none; }
    .golden-inside summary:hover { color: #cdcabf; }
    .golden-inside[open] {
        margin-right: 100px;
        margin-bottom: 15px;
        border-left: 2px solid #cdcdbf;
    }

.scroll-note {
    display: inline-block;
        vertical-align: top;
        width: 250px;
        margin-right: 2px;
        margin-top: 2px;
        /* margin: 12px 0; */
        font-family: "Arbutus Slab", serif;
        border-left: 3px solid #bfcacd;
        background-color: #fcfcfca4;
        /* transition: all 0.2s ease; */
    }
    .scroll-note summary {
        cursor: pointer;
        /* padding: 6px 10px; */
        padding: 1px 6px;
        color: #788a8f;
        font-size: 13px;
        outline: none;
        user-select: none;
        list-style: none;
    }
    .scroll-note summary::-webkit-details-marker { display: none; }
    .scroll-note summary:hover { color: rgb(220, 197, 142); }
    .scroll-note[open] {
        border: 1px solid #e1e5e7;
        border-left: 3px solid #bfcacd;
        background-color: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    .scroll-note[open] summary {
        border-bottom: 1px dashed #e1e5e7;
        background-color: #fafafa;
    }
    .scroll-note .note-content {
        height: 150px;
        overflow-y: auto;
        padding: 1px 6px;
        box-sizing: border-box;
        font-size: 12px;
        color: rgb(67, 74, 67);
        line-height: 1.3;
    }
    .scroll-note .note-content::-webkit-scrollbar { width: 4px; }
    .scroll-note .note-content::-webkit-scrollbar-track { background: transparent; }
    .scroll-note .note-content::-webkit-scrollbar-thumb {
        background: #bfcacd;
        border-radius: 2px;
    }


.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.table {
    display: table;
    /* width: 400px; */
    flex-shrink: 0;
    border-collapse: collapse;
}
.row {
    display: table-row;
}
.cell {
    display: table-cell;
    border: 1px solid #e1e5e7;
    /* height: 10px; */
    padding: 5px 8px;
    /* text-align: center; */
    /* font-family: "Noto Serif", serif; */
    /* font-family:'Times New Roman', Times, serif; */
    /* font-family: "Source Serif 4", serif;
    font-family: "Cardo", serif; */
    font-family: "Libre Caslon Text", serif;
    font-size: 13px;

    /* font-size: 11px; */
    color: #505050;
}


/* Tree diagram */
.tree-box {
        display: flex;
        padding: 0px;
        flex-grow: 1;
        overflow-x: auto;
        font-family:'Times New Roman', Times, serif;
    }
    .tree, .tree ul {
        display: flex;
        padding-top: 10px;
        position: relative;
        /* transition: all 0.5s; */
        padding-left: 0;
    }
    .tree li {
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style-type: none;
        position: relative;
        padding: 10px 10px 0 10px;
        /* transition: all 0.1s; */
    }
    .tree li::before, .tree li::after {
        content: '';
        position: absolute;
        top: 0;
        right: 50%;
        border-top: 1px solid #ccc;
        width: 50%;
        height: 10px;
    }
    .tree li::after {
        right: auto;
        left: 50%;
        border-left: 1px solid #ccc;
    }
    .tree li:only-child::after, .tree li:only-child::before { display: none; }
    .tree li:only-child { padding-top: 0;}
    .tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
    .tree li:last-child::before {
        border-right: 1px solid #ccc;
        border-radius: 0 0px 0 0;
    }
    .tree li:first-child::after { border-radius: 0px 0 0 0; }
    .tree ul::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        border-left: 1px solid #ccc;
        width: 0;
        height: 10px;
    }
    .node-content {
        border: 1px solid #ccc;
        padding: 1px 8px;
        text-decoration: none;
        color: #666;
        font-size: 13px;
        display: inline-block;
        /* border-radius: 5px; */
        background: rgb(red, green, blue, 0.1);
        /* transition: all 0.1s; */
        z-index: 1;
    }
    .node-content:hover {
        background: #f8f9fa;
        border-color: #e8e8e8;
        /* transform: translateY(-2px); */
        box-shadow: 0 1px 4px rgba(99, 99, 99, 0.1);
    }




.output-cold-tree-cmd {
    display: block;
    float: right;
    position: relative;
        margin-top: -42px; 
        margin-right: 0;
        z-index: 10;
        width: auto;
    user-select: none;
    font-family: "Arbutus Slab", serif;
    background-color: #fcfcfca4;
    border: 1px solid #e1e5e7;
    border-radius: 3px;
    scrollbar-color: auto;
    scrollbar-width: auto;
    /* transition: all 0.2s ease; */
}
.output-cold-tree-cmd:hover {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.output-cold-tree-cmd summary {
    cursor: pointer;
    padding: 2px 10px;
    color: #788a8f;
    font-size: 11px;
    font-family: monospace;
    outline: none;
    list-style: none;
    text-align: right;
    letter-spacing: 0.5px;
}
.output-cold-tree-cmd summary::-webkit-details-marker { display: none; }
.output-cold-tree-cmd summary:hover { color: rgb(220, 197, 142); }
.output-cold-tree-cmd[open] {
    width: 260px;
    background-color: #ffffff;
    border: 1px solid #bfcacd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-top: -120px;
}
.output-cold-tree-cmd[open] summary {
    border-bottom: 1px dashed #e1e5e7;
    background-color: #fafafa;
    text-align: left;
    color: #bfcacd;
}
.output-cold-tree-cmd .output-content {
    height: 100px;
    overflow-y: auto;
    padding: 6px 10px;
    box-sizing: border-box;
    font-family: monospace;
    font-size: 12px;
    color: rgb(67, 74, 67);
    line-height: 1.4;
    white-space: pre-wrap;
    background: #fdfdfd;
}
.output-cold-tree-cmd .output-content::-webkit-scrollbar { width: 4px;}
.output-cold-tree-cmd .output-content::-webkit-scrollbar-track { background: transparent; }
.output-cold-tree-cmd .output-content::-webkit-scrollbar-thumb {
    background: #bfcacd;
    border-radius: 2px;
}
.output-cold-tree-cmd::after {
    content: "";
    display: table;
    clear: both;
}

.output-cold-tree-cmd-II{
    padding: 9px;
    display: block;
    position: relative;
        margin-top: -7px; 
        margin-bottom: 9px;
        left: 30px;
    /* user-select: none; */
    font-family: "Arbutus Slab", serif;
    color: #abb6b9;
    /* color: #788a8f; */
    background: linear-gradient(to right, #f5f5f5, #f6f6f6f1);
    /* background: linear-gradient(to right, #eee, #f6f6f6f1); */
    line-height: 1.5;
    font-family: Consolas, monospace; 
    font-size: 0.9em; 
    overflow-x: auto;
    /* border-radius: 3px; */
}
.output-cold-tree-cmd-II::-webkit-scrollbar {
                width: 1px;
                height: 2px;
            }
            .output-cold-tree-cmd-II::-webkit-scrollbar-track { background: transparent; }
            .output-cold-tree-cmd-II::-webkit-scrollbar-thumb {
                background: #dfe6e8;
                border-radius: 0;
            }
            .output-cold-tree-cmd-II::-webkit-scrollbar-thumb:hover { background: #bfcacd; }


.notebooks{ display: flex; gap: 2px;}
.notebook{
    width: 100px;
    height: 200px;
    overflow: hidden;
    color: #6b6565;
    font-family: 'Times New Roman', Times, serif;
}
.notebook-img{
    width: 100px;
    height: 140px;
    overflow: hidden;
}
.notebook-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform-origin: center center center center;
}




.iris-footer-nav-div{
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(180, 195, 205, 0.25);
}
.iris-footer-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
        }
        .nav-link {
            font-size: 13px;
            color: #586770;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 300;
        }
        .nav-link span {
            font-size: 10px;
            color: #c8a962;
            transition: transform 0.25s ease;
        }
        .nav-link:hover {
            color: #1e262b;
        }
        .nav-link:hover span {
            transform: translateX(4px);
        }

.sub-writeblock{
                display: flex; 
                    gap: 13px; 
                    flex-wrap: wrap; 
                    overflow-y: auto;
                max-height: 630px; 
                width: 760px; 
            }
            .sub-writeblock::-webkit-scrollbar { width: 2px; height: 2px;}
            .sub-writeblock::-webkit-scrollbar-track { background: transparent; }
            .sub-writeblock::-webkit-scrollbar-thumb {
                background: #d9d9d95e;
                border-radius: 2px;
            }
.sub-writeblock-II{
                /* display: flex; 
                    gap: 13px; 
                    flex-wrap: wrap;  */
                    overflow-y: auto;
                height: 630px; 
                width: 760px; 
            }
            .sub-writeblock-II::-webkit-scrollbar { width: 1px; height: 2px;}
            .sub-writeblock-II::-webkit-scrollbar-track { background: transparent; }
            .sub-writeblock-II::-webkit-scrollbar-thumb {
                background: #d9d9d95e;
                border-radius: 2px;
            }
/* or not just picture, but mostly are pictures */
.sub-picture-gallery{
    max-width: 260px; 
    max-height: 180px; 
    border-right: 2px dashed rgb(216, 147, 124);
}

.gray-thin-scrollbar{ overflow-y: auto;}
            .gray-thin-scrollbar::-webkit-scrollbar { width: 2px; height: 3px;}
            .gray-thin-scrollbar::-webkit-scrollbar-track { background: transparent; }
            .gray-thin-scrollbar::-webkit-scrollbar-thumb {
                background: #d9d9d95e;
                border-radius: 2px;
            }

.one-star-hr {
            border: none;
            /* border-top: 3px double var(--border-color); */
            color: rgb(207, 201, 179);
            /* color: rgb(216, 216, 216); */
            overflow: visible;
            text-align: center;
            height: 9px;
            font-size: 14px;
            width: 100%;
        }
        .one-star-hr::after {
            /* content: "⁕"; */
            content: "- - - - - - - ◈ - - - - - - -";
            /* content: "▾ - - - - - ◈ - - - - - ▾"; */
            padding: 0 0;
            position: relative;
            /* top: -9px; */
        }

.has-tip {
    position: relative;
    cursor: help;
}
.has-tip::after {
    content: attr(data-tooltip);
    position: absolute;
        left: 50%;
        bottom: 100%;
        transform: translate(-50%, -6px);
    padding: 4px 8px;
    background-color: rgba(74, 85, 90, 0.95);
    font-family: "Cardo", "Source Serif 4", Georgia, serif;
        color: #fbfbfb;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 0.5px;
        /* white-space: nowrap; */
        white-space: normal;
        width: max-content;
        max-width: 220px;
        text-align: center;
    border-radius: 2px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1000;
}
.has-tip:hover::after {
    opacity: 1;
    visibility: visible;
}