@charset "UTF-8";
.filename {
    display: grid;
    grid: auto / 24px 2fr 1fr;
    white-space: nowrap;
    border-radius: 2px;
    margin: 0 6px;
}
.filename:hover{
    color: #ff9473 !important;
    cursor: pointer;
}
.filename.selected {
    color: #fbfbfb;
    background: #df5050;
}
.filename.modifyed {
    text-decoration: underline;
}
.filename.notloaded {
    opacity: .5;
}
.filename .number {
    opacity: .5;
    font-size: .6em;
    border-radius: 2px;
    background-color: #333;
    border: 1px solid #444;
    margin-right: 4px;
    min-width: 1em;
}
.filename .close {
    opacity: .5;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
    color: #b1aaaa;
}
.filename.folder {
    color: #d1654c;
}
.filename.folder:before {
    content: "/";
}
.filename.folder:after {
    content: "/";
}
.filename.parent-folder {
    color: #729ad8;
}
.filename.current-folder {
    color: #dddddd;
}
.filename h2{
    color: #fdc0b9;
}
/********************************* ********************************/
.webapp {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-size: 14px;
}
.北 {
    background-color: #f0f0f0;
    height: 64px;
}
.北上 {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.北下 {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}
/************************* 【央】 *************************/
.央 {
    display: flex;
    flex: 1;
    overflow: hidden;
    gap: 4px;
}
 .西, .侧, .心, .旁, .东 {display: flex; flex-direction: column; overflow: hidden;}
.西 { background-color: #f5f5f5; width: 12%; }
.侧 { background-color: #f5f2f2; width: 12%; }
.心 { background-color: #f7f7f7; flex: 1; }
.旁 { background-color: #f5f2f2; width: 12%; }
.东 { background-color: #f5f5f5; width: 12%; }
.南 {background-color: #f0f0f0; height: 48px; font-size: 13px;}
.西上{
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
}
.西上工{display: flex;width: 100%;height: 32px;}
.西上容 {width: 100%;height: calc(100% - 32px);}
.西下 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height:40%;
}
.西下工{display: flex;width: 100%;height: 32px;}
.西下容 {width: 100%;height: calc(100% - 32px);overflow: auto;}
.侧上{
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    overflow: hidden;
}
.侧上工{display: flex;width: 100%;height: 32px;}
.侧上容{width: 100%;height: calc(100% - 32px);overflow-y: auto;}
.侧下{
    display: flex;
    flex-direction: column;
    width: 100%;
    height:40%;
    overflow: auto;
}
.侧下工 {
    display: flex;
    padding: 2px;
    width: 100%;
    height: 32px;
}
.侧下容 {
    flex: 1;
    resize: none;
    padding: 2px;
    border: none;
    outline: none;
    font-family: inherit;
    width: 100%;height: calc(100% - 32px);
}
.心上{
    display: flex;
    flex: 1;
    overflow: auto;
    width: 100%;
    object-fit: contain;
}
.心上左{
    width: 50%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}
.心上右{
    flex: 1;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}
.心下 {
    display: flex;
    height:40%;
    overflow: auto;
    width: 100%; 
    object-fit: contain;
}
.心上容 {
    display: flex;
    width: 100%;
    height: calc(100% - 32px);
}
.心上左容 {
    width: 100%;
    height: calc(100% - 32px);
}
.心上右容 {
    width: 100%;
    height: calc(100% - 32px);
    background: white;
}
.心下容 {
    width: 100%;
    height: calc(100% - 32px);
}
.心下左 {
    width: 50%;
    height: calc(100% - 32px);
    display: flex;
    flex-wrap: wrap;
}
.心下右 {
    flex: 1;
    height: calc(100% - 32px);
    display: flex;
    flex-wrap: wrap;
}
.心下左容 {
    width: 100%;
    height: calc(100% - 32px);
}
.心下右容 {
    width: 100%;
    height: calc(100% - 32px);
    background: #ffffff;
    position: relative;
}
.心上左工 {
    display: flex;
    width: calc(100% - 70px);
    height: 32px;
    overflow-x: auto;
    overflow-y: hidden;
}
.心下左工 {
    display: flex;
    width: calc(100% - 44px);
    height: 32px;
    overflow-x: auto;
    overflow-y: hidden;
}
.心上左工 .filename { display: block; }
#心上左工::-webkit-scrollbar { width: 1px !important; height: 1px !important; }
#心上左工::-webkit-scrollbar-track { background-color: #f7f7f7 !important; }
#心上左工::-webkit-scrollbar-thumb { background-color: #e1e1e1 !important; border-radius: 1px !important; }
#心上左工::-webkit-scrollbar-button { display: none !important; }
#心上左工::-webkit-scrollbar-corner { background-color: #f7f7f7 !important; }
#心上左工 { scrollbar-width: thin !important; scrollbar-color: #e1e1e1 #f7f7f7 !important; }
.心上右工 {
    display: flex;
    width: calc(100% - 44px);
    height: 32px;
}
.心下右工 {
    display: flex;
    width: calc(100% - 44px);
    height: 32px;
}
.心下工 {
    display: flex;
}
.旁上{
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
}
.旁上工 {
    display: flex;
    gap: 8px;
}
button.左侧折叠按钮{
    background: none;
}
.旁上容 {height: calc(100% - 32px);overflow: auto;} 
.聊 {width: 100%; height: 100%;} 
.旁下{
    display: flex;
    flex-direction: column;
    width: 100%;
    height:40%;
    overflow: auto;
}
.旁下工 {
    display: flex;
}
.旁下容{
    width: 100%;
    height: calc(100% - 32px);
}
.东上{
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
}
.东上工 {
    display: flex;
    height: 32px;
}
.东上容{
    width: 100%;
    height: calc(100% - 32px);
}
.实时更新容器 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}
.东下 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height:40%;
    overflow: auto;
}
.东下工 {
    display: flex;
    height: 32px;
}
.东下容 {
    width: 100%;
    height: calc(100% - 32px);
}
.南上 {
    display: flex;
    background-color: #e0e0e0;
    height: 24px;
    overflow: hidden;
}
.南下 {
    display: flex;
    background-color: #d0d0d0;
    width: 100%;
    height: 24px;
    overflow: hidden;
    line-height: 24px;
}
.南下访 {
    margin: 0px 18px;
}
.南下 a {
    color: #313131;
}
.垂直调节器 {
    background-color: #ccc;
    width: 1px;
    user-select: none;
    position: relative;
}
.垂直调节器::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -4px;
    width: 9px;
    cursor: col-resize;
    pointer-events: auto;
}
.垂直调节按钮上 {
    position: absolute;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 18px;
    background-color: #696969;
    border: none;
    font-size: 12px;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
    /*border: 1px solid #555555;*/
}
.垂直调节按钮上:hover, .垂直调节按钮下:hover {background-color: #df5050;}
.垂直调节按钮下 {
    position: absolute;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #bbbbbb;
    border: none;
    font-size: 12px;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
    border: 1px solid #555555;
    border-radius: 50%;
}
.水平调节器 {
    background-color: #ccc;
    height: 1px;
    user-select: none;
    position: relative;
}
.水平调节器::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -4px;
    height: 9px;
    pointer-events: auto;
    cursor: row-resize;
}
.水平调节按钮左 {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: #a7a7a7;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}
.水平调节按钮右 {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #a7a7a7;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}
.南上左 {
    margin: 4px 18px;
    min-width: 300px;
}
.南上右 {
    margin-left: 32px;
    display: flex;
    width: 600px;
}
.脑{ width: 100%; height: 100%;}
.筋{ width: 100%; height: 100%;}
.广{ width: 100%; height: 100%;}
.文{ width: 100%; height: 100%;}
.讲{ width: 100%; height: 100%;}
input#搜索框 { width: 160px; height: 24px; }
.高亮 { background-color: #acc3e3; }
.右菜单 {
    display: flex;
    align-items: center;
}
.用户头像 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}
#资 {
    list-style-type: none;
    padding-left: 4px;
    height: 100%;
    overflow: auto;
}
.文件夹 {
    color: red;
    cursor: pointer;
}
.文件 {
    color: black;
    cursor: pointer;
}
#资 li ul {
    padding-left: 20px;
}
.monaco-editor {
    height: 100%;
}
#广 {
    height: 100%;
    width: 100%;
    resize: vertical;
}
#文 {
    height: 100%;
    width: 100%;
    resize: vertical;
}
#愿 {
    width: 100%;
    height: 100%;
}
#望 {
    width: 100%;
    height: 100%;
}
#果 {
    overflow-y: auto;
    height: 100%;
}
#瓜 {
    overflow-y: auto;
    height: 100%;
}
.片 {
    display: flex;
    flex-direction: column;
}
/* Responsive Styling */
@media (max-width: 1024px) {
    .侧, .旁 {
        display: none;
    }
}
@media (max-width: 768px) {
    .西, .东 {
        display: none;
    }
}
.工 {
    display: flex;
    height: 32px;
    background: #f5f5f5;
    overflow: hidden;
}
#更 {
    display: none;
    margin-left: auto;
}
#更窗 {
    position: absolute;
    right: 0;
    top: 60px;
    max-height: 90%;
    overflow: auto;
    z-index: 1000;
}
#更窗 button {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    padding: 8px 15px;
}
.边上红{ border-top: 1px solid #ff0000;}
#脑.边顶{ border-top: 1px solid #ff0000;}
#筋.边顶{ border-top: 1px solid #00ff00;}
#广.边顶{ border-top: 1px solid #0000ff;}
#文.边顶{ border-top: 1px solid #ffa500;}
#脑.边底{ border-bottom: 1px solid #ff0000;}
#筋.边底{ border-bottom: 1px solid #00ff00;}
#广.边底{ border-bottom: 1px solid #0000ff;}
#文.边底{ border-bottom: 1px solid #ffa500;}
.齐右{ float: right;}
.提示框 {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
}
.提示框.成 {background-color: #67c23a;}
.提示框.败 {background-color: #f56c6c;}
.提示框.示 {background-color: #909399;}
.提示框.险 {background-color: #e6a23c;}
.提示框.显示 {opacity: 1;}
.隐{ display: none;}

.findMatch {
    color: #ff00ff !important;
    background-color: #0000ff;
}
.findMatchInline {
    color: #ff0000 !important;
    background: #ffff00;
}
/*.trash{*/
/*    border: 1px solid #999999;*/
/*    padding: 4px;*/
/*    background: #f5e040;*/
/*    border-radius: 5px;*/
/*}*/
.突 {background-color: yellow !important;color: black !important;}
.标签页 {
    padding: 10px;
    cursor: pointer;
    border-right: 1px solid #ccc;
    background-color: #e0e0e0;
}
.标签页.active {
    background-color: #ffffff;
    border-bottom: 2px solid #000;
}
.标签页.unsaved::after {
    content: '*';
    color: red;
    margin-left: 5px;
}
.选 {
    background-color: #cce5ff;
}
#引用列表 {
    position: absolute;
    right: 10px;
    top: 60px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}
.聊天项 h1 {
    font-size: 0.9rem;
}
.智{display: flex;height: 32px;}
.临时{display: flex;}
#函数列表 {
    height: 100%;
    overflow: auto;
}
.穹{ z-index: 9999;}
.钮 {cursor: pointer; white-space: nowrap; border: 1px solid #000000; border-radius: 0; margin: 2px; padding: 2px 4px;}
.钮.活 {color: #df5050; }
.右 {margin-left: auto;}
.心上左具 {margin-left: 4px;}
.心下左具 {margin-left: 4px;}
.心下右具 {margin-left: 4px;}
n-复 { display: flex; flex-direction: column;line-height: 16px;}
.产 h4 { color: #569cd6; font-size: 14px; }
.产 h5 { color: #0990d7; font-size: 13px; }
.列表 {
    padding: 4px;
}
.列表 h5 {
    color: #008ab5;
}
.图片容器 {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    display: none;
    pointer-events: none;
}
.图片容器 img {
    width: 1920px;
    height: 945px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
}
.朵3101 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.朵3101 div {
    color: var(--亮);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.朵3101 div span{margin: 0 4px;}
.朵3101 ol { display: flex; flex-wrap: wrap; }
.朵3101 ol li {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 明确指定3列 */
    grid-template-rows: 32px 16px 16px;    /* 三行高度分别为32px/16px/16px */
    cursor: pointer;
    position: relative;
    width: 64px;
    height: 64px;
    background: #ffffff;
}
.朵3101 ol li:hover { background-color: var(--辅); }
.菜.朵3101 { display: flex; }
.谱.朵3101 { display: flex; }
.肴.朵3101 { display: flex; }
.菜 li {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    margin: 2px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}
.菜 > li:hover > ol { display: flex; padding-top: 28px;/* 核心：20250731 菜单出现的事件 */}
.谱 > li:hover > ol { display: flex; padding-top: 28px; }
.肴 > li:hover > ol { display: flex; padding-top: 28px; }
.菜 li ol , .谱 li ol , .肴 li ol {
    display: none;
    position: absolute;
    min-width: 374px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 750px;
    overflow: hidden auto;
    z-index: 999999;
    border: 1px solid #000000;
    text-align: left;
    top: 16px;
}
.谱 > li{
    position: relative;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    margin: 2px;
    width: 48px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}
.肴 > li {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    margin: 2px;
    width: 50px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #0055a7;
    color: #c7c7c7;
    border: 1px solid #000000;
    border-radius: 50%;
    font-size: 13px;
}
.朵3101 { background-color: #f9f9f9;}
.朵3101 ol { background-color: #f1f1f1; }
.片段树 .filename { display: flex; }
#布 { width: 100%; height: 100%; }
.dark { /* 【惯】css的dark{里}只能改颜色，不能改宽高 换1e1e1e到2d2d2d button { background-color: #2f2b2b; color: #cfcece;} button:active { background-color: #3d8b40;}    #工 button {color: #252323;} #工 button:hover {background: #3d3d3d;color: #ffffff;} */
    .景暗{ background-color: #2d2d2d;}
    .侧 { background-color: #2d2d2d; border-radius: 8px; }
    .西 { background-color: #2d2d2d; border-radius: 8px; }
    .心 { background-color: #2d2d2d; border-radius: 8px; }
    .东 { background-color: #2d2d2d; border-radius: 8px; }
    .旁 { background-color: #2d2d2d; border-radius: 8px; }
    .西下 { border-top: 1px solid #4b4a4a;}
    .东下 { border-top: 1px solid #4b4a4a;}
    .侧下 { border-top: 1px solid #4b4a4a;}
    .旁下 { border-top: 1px solid #4b4a4a;}
    .工 {background: #1e1e1e;}
    .列表 ul {background: #2d2d2d;}
    .列表 li{background: #2d2d2d; cursor: pointer;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
    .列表 li:hover{color: #ff9473;}
    .北 {background-color: #1e1e1e;}
    .北上 {background-color: #1e1e1e;}
    .北下 {background-color: #1e1e1e;}
    .垂直调节器 {background-color: #1e1e1e;}
    .垂直调节器:hover {background-color: #1e1e1e;}
    .水平调节器 { background-color: #1e1e1e;}
    .水平调节器:hover { background-color: #1e1e1e;}
    .南 { background-color: #2d2d2d;}
    .南上 { background-color: #1e1e1e;}
    .南下 { background-color: #1e1e1e;}

    scrollbar-width: thin; /* 滚动条宽度，类似WebKit里的width属性 */
    scrollbar-color: #555 #222; /* 滑块颜色 轨道颜色，顺序要这样写 */
    #脑预览{background-color: #ffffff;}
    input {
        background-color: #353535; /* 输入框背景颜色，设置为较暗色调 */
        color: white; /* 输入框内文字颜色 */
         /* border: 1px solid #444; 输入框边框 */
        border-radius: 4px; /* 输入框圆角 */
        /* padding: 8px 12px; 输入框内的文字间距 */
        height: 24px;
    }
    input:focus {
        outline: none; /* 去除默认聚焦时的外边框 */
        border-color: #666; /* 聚焦时改变边框颜色 */
        box-shadow: 0 0 5px rgba(102, 102, 102, 0.5); /* 聚焦时添加淡淡的阴影效果 */
    }
    input::placeholder {
        color: #888; /* 输入框占位符文字颜色 */
    }
    /* 改monaco背景色 原：2c2d30*/
    .monaco-editor, .monaco-editor-background { background-color: #2d2d2d !important; }
    .monaco-editor .margin {background-color: #2d2d2d !important; }
    .mtk1 { color: #f5eeb8 !important; }
    /*.mtk2 { color: #1f1f1f; }*/
    /*.mtk3 { color: #d4d4d4; }*/
    /*.mtk4 { color: #000080; }*/
    /*.mtk5 { color: #6a9955; }*/
    /*.mtk6 { color: #569cd6; }*/
    /*.mtk7 { color: #b5cea8; }*/
    /*.mtk8 { color: #646695; }*/
    /*.mtk9 { color: #d7ba7d; }*/
    /*.mtk10 { color: #9cdcfe; }*/
    .mtk11 { color: #dcdc9f !important;/*原：#f44747*/ }
    .mtk12 { color: #5fc2c3 !important;/*原：#ce9178*/ }
    /*.mtk13 { color: #6796e6; }*/
    /*.mtk14 { color: #808080; }*/
    /*.mtk15 { color: #d16969; }*/
    /*.mtk16 { color: #dcdcaa; }*/
    /*.mtk17 { color: #4ec9b0; }*/
    /*.mtk18 { color: #c586c0; }*/
    /*.mtk19 { color: #4fc1ff; }*/
    /*.mtk20 { color: #c8c8c8; }*/
    /*.mtk21 { color: #cd9731; }*/
    /*.mtk22 { color: #b267e6; }*/
    /*.mtki { font-style: italic; }*/
    /*.mtkb { font-weight: bold; }*/
    /*.mtku { text-decoration: underline; text-underline-position: under; }*/
    /*.mtks { text-decoration: line-through; }*/
    /*.mtks.mtku { text-decoration: underline line-through; text-underline-position: under; }*/
    .高亮 { background-color: #df5050; }
    .下拉内容 { background-color: #272525; }
    .下拉项:hover { background-color: #181818; color: #df5050;}
    .下拉按钮 { background-color: #1e1e1e; }
    .朵3101 { background-color: #1e1e1e;}
    .朵3101 ol{ background-color: #1e1e1e;}
    .朵3101 ol li:hover {background-color: var(--突);}
    #心上左工::-webkit-scrollbar { width: 1px !important; height: 1px !important; }
    #心上左工::-webkit-scrollbar-track { background-color: #2d2d2d !important; }
    #心上左工::-webkit-scrollbar-thumb { background-color: #444444 !important; border-radius: 1px !important; }
    #心上左工::-webkit-scrollbar-button { display: none !important; }
    #心上左工::-webkit-scrollbar-corner { background-color: #2d2d2d !important; }
    #心上左工 { scrollbar-width: thin !important; scrollbar-color: #444444 #2d2d2d !important; }
}
