#comfyPage .settings-panel {
    width: 260px;
    background: rgba(45, 48, 50, 0.95);
    border: 1px solid var(--theme-primary);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 0 20px var(--theme-glow);
    overflow: hidden;
}
#comfyPage .settings-header {
    padding: 5px;
    background: linear-gradient(90deg, rgba(var(--theme-primary-rgb), 0.1), rgba(var(--theme-primary-rgb), 0.2));
    border-bottom: 1px solid var(--theme-primary);
    text-align: center;
    position: relative;
}
#comfyPage .settings-header h3 {
    margin: 0;
    font-size: 15px;
    color: #bebebf;
    text-shadow: 0 0 10px var(--theme-glow);
    letter-spacing: 1px;
    text-transform: uppercase;
}
#comfyPage .settings-header:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    animation: neonPulse 2s infinite;
}
#comfyPage .settings-section {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(45, 48, 50, 0.4);
}
#comfyPage .settings-section .setting-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px !important;
    width: 100%;
    padding: 0 !important;
}
#comfyPage .settings-section label {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    font-size: 12px;
}
#comfyPage .setting-input-wrapper {
    width: 100%;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
}
#comfyPage .settings-section input[type="text"],
#comfyPage .settings-section .path-input {
    width: 100%;
    padding: 4px 5px;
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid var(--theme-primary);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    box-sizing: border-box;
    transition: all 0.3s;
    height: 24px;
    display: block;
}
#comfyPage .settings-section .path-input:focus {
    box-shadow: 0 0 10px var(--theme-glow);
    outline: none;
}
#comfyPage .toggle-resize-btn {
    width: 100%;
    margin: 3px 0 0 0 !important;
    padding: 4px 0 !important;
    border: 1px solid #999999;
    border-radius: 4px;
    color: var(--theme-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--theme-glow);
    height: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#comfyPage .settings-section .path-browse-btn:hover,
#comfyPage .toggle-resize-btn:hover {
    background: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 0 10px var(--theme-glow);
    color: #fff;
}
#comfyPage .settings-section .checkbox-item {
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    min-height: auto;
    position: relative;
    display: flex;
    justify-content: center;
}
#comfyPage .settings-section .checkbox-item label {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    text-align: left;
    margin-bottom: 0;
    padding: 0;
    white-space: nowrap;
}
#comfyPage .settings-section .checkbox-item input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0 6px 0 0;
    width: 14px;
    height: 14px;
    accent-color: var(--theme-primary);
    box-shadow: 0 0 5px var(--theme-glow);
}
#comfyPage .settings-footer {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 6px 8px;
    background: rgba(45, 48, 50, 0.8);
    border-top: 1px solid rgba(var(--theme-primary-rgb), 0.3);
}
#comfyPage .settings-panel .settings-footer .settings-button {
    flex: none;
    padding: 4px 0;
    height: 25px;
    width: 120px !important;
    line-height: 1;
    background: rgba(var(--theme-primary-rgb), 0.15);
    border: 1px solid var(--theme-primary);
    border-radius: 4px;
    color: #8e9392;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
#comfyPage .settings-panel .settings-footer .settings-button:first-child {
    margin-right: 0;
}
#comfyPage .settings-panel .settings-footer .settings-button.primary {
    background: #c5ef52;
    border: 1px solid #c5ef52;
    color: #3d4246 !important;
}
#comfyPage .settings-panel .settings-footer .settings-button:hover {
    background: #defa93;
    color: #3d4246 !important;
}
#comfyPage .settings-panel .settings-footer .settings-cancel-btn {
    background: #ff472f !important;
    border: 1px solid #ff472f !important;
    color: #ffffff !important;
}
#comfyPage .settings-panel .settings-footer .settings-cancel-btn:hover{
    background: #e03e29 !important;
    border: 1px solid #e03e29 !important;
    color: #ffffff !important;
}
@keyframes neonPulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}
#comfyPage .settings-section .checkbox-item {
    margin-top: 1px;
    margin-bottom: 1px;
}
#comfyPage .settings-section .setting-item:first-child {
    margin-top: 2px;
}
#comfyPage .settings-section .setting-item:last-child {
    margin-bottom: 2px;
}
.settings-panel.dialog-content {
    padding: 0 !important; 
    box-sizing: border-box !important;
    max-height: none !important; 
}
#comfyPage .settings-panel .settings-section {
    padding: 6px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-panel .setting-item {
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-panel .setting-item:last-child {
    margin-bottom: 0 !important;
}
#comfyPage .settings-panel .path-input {
    margin-bottom: 3px !important;
    height: 24px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-panel label {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
#comfyPage .settings-panel .settings-header {
    padding: 5px !important;
    margin: 0 !important;
    min-height: 0 !important;
}
#comfyPage .settings-panel .settings-footer {
    padding: 5px !important;
    margin: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 20px !important;
}
#comfyPage .settings-section .path-browse-btn {
    height: 24px !important;
    min-height: 0 !important;
    line-height: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 3px !important;
}
#comfyPage .settings-panel * {
    float: none !important;
    position: relative !important;
}
#comfyPage .settings-panel .settings-section,
#comfyPage .settings-panel .settings-header,
#comfyPage .settings-panel .settings-footer {
    transform: scale(0.98);
    transform-origin: center top;
}
#comfyPage .settings-panel .setting-item:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
#comfyPage .settings-panel .setting-item:first-child label {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    height: auto !important;
    display: block !important;
}
#comfyPage .settings-panel .setting-item:first-child .path-input {
    height: 22px !important;
    margin: 1px 0 2px 0 !important;
    padding: 2px 5px !important;
    line-height: 18px !important;
    display: block !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-panel label + input,
#comfyPage .settings-panel label + select,
#comfyPage .settings-panel label + button {
    margin-top: 1px !important;
}
#comfyPage .settings-panel .setting-item:first-child .path-browse-btn {
    margin-top: 3px !important;
    height: 24px !important;
    line-height: 1 !important;
    padding: 4px 0 !important;
}
#comfyPage .settings-panel .setting-item:nth-child(2) {
    margin-top: 3px !important;
}
#comfyPage .settings-panel * {
    outline: none !important;
}
.settings-panel.dialog-content {
    transform: scale(0.95);
    transform-origin: center top;
}
#comfyPage .settings-panel .setting-item:nth-child(4)#comfyPage .checkbox-item {
    margin-top: 2px !important;
}
#comfyPage .path-warning {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.1) !important;
}
#comfyPage .absolute-path {
    border-color: #ffac33 !important; 
    background-color: rgba(255, 172, 51, 0.1) !important;
}
#comfyPage .path-info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 4px;
    cursor: help;
}
#comfyPage .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--theme-primary);
    color: #000;
    font-weight: bold;
    font-size: 11px;
}
#comfyPage .tooltip-content {
    display: none;
    position: absolute;
    bottom: 24px;
    left: -100px;
    width: 240px;
    padding: 8px;
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid var(--theme-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--theme-glow);
    z-index: 100;
    color: #fff;
    font-size: 11px;
}
#comfyPage .path-info-tooltip:hover .tooltip-content {
    display: block;
}
#comfyPage .tooltip-content p {
    margin: 0 0 4px 0;
}
#comfyPage .tooltip-content ul {
    margin: 0;
    padding-left: 16px;
}
#comfyPage .tooltip-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 3px;
    border-radius: 2px;
    font-family: monospace;
}
#comfyPage .path-input,
#comfyPage .path-browse-btn,
#comfyPage .path-warning,
#comfyPage .absolute-path,
#comfyPage .path-info-tooltip,
#comfyPage .info-icon,
#comfyPage .tooltip-content {
    display: block !important;
}
#comfyPage .path-input {
    width: 100%;
    padding: 4px 5px;
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid var(--theme-primary);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 3px;
    box-sizing: border-box;
    transition: all 0.3s;
    height: 24px;
    line-height: 16px;
}
#comfyPage .path-input:focus {
    box-shadow: 0 0 10px var(--theme-glow);
    outline: none;
}
#comfyPage .path-browse-btn {
    width: 100%;
    padding: 4px 0;
    background : rgba(var(--theme-primary-rgb), 0.15);
    border: 1px solid var(--theme-primary);
    border-radius: 4px;
    color: #999999;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--theme-glow);
    margin: 0 auto;
    display: block;
    height: 24px;
    line-height: 1;
}
#comfyPage .path-browse-btn:hover {
    background: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 0 10px var(--theme-glow);
}
#comfyPage .setting-item label {
    display: block;
    margin-bottom: 1px;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 0 5px var(--theme-glow);
    text-align: center;
    line-height: 1;
}
#comfyPage .settings-panel .setting-item:first-child {
    margin-top: 10px !important;
    display: block !important;
}
#comfyPage .settings-panel .setting-item:nth-child(1) {
    margin: 10px 0 !important;
    padding: 0 !important;
}
#comfyPage .settings-panel .setting-item:nth-child(2)#comfyPage .checkbox-item {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
#comfyPage .workflow-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    min-height: 260px !important;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(10, 14, 22, 0.98) 100%);
    margin: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

/* ĺźşĺśçĄŽäżĺŞćworkflow-list-wrapperäş§çćťĺ¨ć?*/
#comfyPage .app-container,
#comfyPage .page,
#workflow-page,
#workflow-page.active,
#comfyPage .workflow-container {
    overflow: hidden !important;
    scrollbar-width: none !important;
}

#comfyPage .app-container::-webkit-scrollbar,
#comfyPage .page::-webkit-scrollbar,
#workflow-page::-webkit-scrollbar,
#workflow-page.active::-webkit-scrollbar,
#comfyPage .workflow-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#comfyPage .workflow-container * {
    scrollbar-width: none !important;
}

#comfyPage .workflow-container *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* çžč§çworkflow-list-wrapperčŞĺŽäšćťĺ¨ćĄ */
#comfyPage .workflow-list-wrapper {
    scrollbar-width: thin !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -ms-overflow-style: auto !important;
}

#comfyPage .workflow-list-wrapper::-webkit-scrollbar {
    width: 6px !important;
    background: transparent !important;
}

#comfyPage .workflow-list-wrapper::-webkit-scrollbar-track {
    background: rgba(60, 63, 65, 0.2) !important;
    border-radius: 3px !important;
    margin: 4px 0 !important;
}

#comfyPage .workflow-list-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(5, 217, 232, 0.6), rgba(5, 217, 232, 0.8)) !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 4px rgba(5, 217, 232, 0.3) !important;
}

#comfyPage .workflow-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(5, 217, 232, 0.8), rgba(5, 217, 232, 1)) !important;
    box-shadow: 0 0 8px rgba(5, 217, 232, 0.5) !important;
    transform: scaleX(1.2) !important;
}
#comfyPage .workflow-header {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 !important;
    padding: 8px 1px 0px 1px !important;
    box-sizing: border-box !important;
    flex-shrink: 0;
    width: 100% !important;
}
#comfyPage .workflow-list-wrapper {
    flex: 1;
    overflow-x: hidden !important;
    overflow-y: auto !important; 
    padding: 12px;
    margin: 0 0 0 0 !important;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.34)) !important;
    box-sizing: border-box !important;
    width: calc(100%) !important;
    height: 100% !important;
    position: relative;
    border-radius: 0 0 14px 14px !important;
    clip-path: inset(0 0 0 0 round 0 0 14px 14px) !important;
}

/* ćťĺ¨ćĄć ˇĺźĺˇ˛éč */
/* ĺˇ˛ĺ é¤çć§ĺŽšĺ¨ć ˇĺź?- ç°ĺ¨ä˝żç¨çŽĺç #comfyPage .workflow-container */
#comfyPage .workflow-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding : 6px 4px !important;
    background : linear-gradient(180deg, rgba(22, 30, 44, 0.98), rgba(13, 19, 30, 0.98)) !important;
    /* background-color : #212324; */
    /* border : 1px solid #666666 !important; */
    border-radius: 10px !important;
    clip-path: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    width: calc(50% - 4px) !important;
    min-height: 38px !important;
    height: 38px !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    border: 1px solid rgba(71, 85, 105, 0.55) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
#comfyPage .workflow-item .workflow-name {
    position: relative !important;
    z-index: 0 !important; 
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important; 
    -webkit-text-fill-color: #e2e8f0 !important;
    text-shadow: none !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    display: inline-block !important;
    line-height: 18px !important;
    vertical-align: middle !important;
    pointer-events: none !important;
}
.workflow-item.active {
    background: rgba(var(--theme-secondary-rgb, 255, 42, 109), 0.3) !important; 
    border: 1px solid var(--theme-secondary) !important;
    box-shadow: 0 0 12px var(--theme-glow) !important;
}
.workflow-item.active::before {
    background: var(--theme-secondary) !important;
    border-left: 3px solid var(--theme-secondary) !important;
    left: -3px !important;
}
#comfyPage .workflow-name {
    color:#999999 !important; 
    font-weight: 500 !important;
}
.workflow-item.active #comfyPage .workflow-name {
    color: var(--darker-bg) !important; 
    font-weight: 600 !important;
}
#comfyPage .workflow-empty {
    width: 100%;
    text-align: center;
    padding: 15px;
    color : var(--theme-primary) !important;
    font-size: 14px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5) !important;
}
#comfyPage .workflow-list .workflow-item .workflow-name,
#comfyPage .workflow-list .workflow-item:hover .workflow-name,
#comfyPage .workflow-list .workflow-item.active .workflow-name {
    color:#999999; 
}
.workflow-item.active #comfyPage .workflow-name {
    font-weight: 600 !important; 
}
#comfyPage .workflow-item:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(37, 99, 235, 0.92)) !important;
    color:#ffffff;
    border-color: rgba(129, 140, 248, 0.75) !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2) !important;
    transform: translateY(-1px);
}
#comfyPage .workflow-item:hover .workflow-name {
    color: #ffffff !important;
    font-weight: 600 !important;
}
#comfyPage .workflow-list .workflow-item * {
    color: #ffffff;
}
@keyframes delayedColorFix {
    to { color: #ffffff !important; }
}
#comfyPage .workflow-name {
    animation: delayedColorFix 0.1s forwards;
    animation-delay: 0.1s;
}
/* éĺ¤ç?.workflow-item.active #comfyPage .workflow-name ć ˇĺźĺˇ˛ĺ é?- ĺˇ˛ĺ¨ä¸ćšĺŽäš */
@keyframes enforceButtonStyles {
    to {
        background: transparent !important;
        background-color: transparent !important;
        border: 1px solid var(--theme-primary) !important;
        border-radius: 4px !important;
    }
}
.spectrum-Button.workflow-item,
button.workflow-item,
div.workflow-item,
#comfyPage .workflow-list button,
#comfyPage .workflow-list > * {
    border-radius: 4px !important;
    clip-path: none !important;
}

.workflow-item.compact:hover {
    color: #3d4246 !important;
}
:root {
    --theme-primary: #05d9e8;
    --theme-primary-rgb: 5, 217, 232;
    --theme-secondary: #ff2a6d;
    --theme-border: rgba(5, 217, 232, 0.7);
    --theme-glow: rgba(5, 217, 232, 0.5);
    --theme-text: #ffffff;
}
#comfyPage .workflow-item .workflow-name,
#comfyPage .workflow-name,
span.workflow-name,
#comfyPage .workflow-list .workflow-item .workflow-name {
    background: transparent !important;
    background-color: transparent !important;
    font-size: var(--workflow-font-size, 13px) !important;
    -webkit-text-fill-color: currentColor !important;
}
/* ĺĺšśçéćčćŻć ˇĺź */
#comfyPage .workflow-list,
#comfyPage .workflow-container,
#comfyPage .workflow-item *,
#comfyPage .workflow-name,
#comfyPage .workflow-name-container {
    background: transparent !important;
    background-color: transparent !important;
}

#comfyPage .workflow-item::before,
#comfyPage .workflow-item::after {
    pointer-events: none !important;
}
#comfyPage .workflow-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 0 0 0 !important;
    width: calc(100%) !important;
    max-width: calc(100%) !important;
    box-sizing: border-box !important;
    background: transparent !important;
    overflow: visible !important;
}
/* éĺ¤ç?#comfyPage .workflow-header ć ˇĺźĺˇ˛ĺ é?- ĺĺšśĺ°ä¸é˘çťä¸ĺŽäš */

#comfyPage .settings-save-btn {
    margin-right: 0 !important; 
}
#comfyPage .settings-cancel-btn {
    margin-left: 0 !important;
    background: #ff472f !important;
    border: 1px solid #ff472f !important;
    color: #ffffff !important;
}
#comfyPage .settings-cancel-btn:hover {
    background: #e03e29 !important;
    border: 1px solid #e03e29 !important;
    color: #ffffff !important;
}
#comfyPage .settings-footer {
    display: flex !important;
    justify-content: space-around !important;
    gap: 20px !important; 
}
#comfyPage .settings-panel .settings-footer .settings-button,
#comfyPage .settings-panel .settings-footer .settings-save-btn,
#comfyPage .settings-panel .settings-footer .settings-cancel-btn {
    height: 25px !important;
    line-height: 1 !important;
}
#comfyPage .category-empty {
    width: 100%;
    text-align: center;
    padding: 5px;
    color: rgba(var(--theme-primary-rgb), 0.7) !important;
    font-size: 12px;
    font-style: italic;
}
/* ć§çéčćťĺ¨ćĄć ˇĺźĺˇ˛ĺ é¤ - ç°ĺ¨ä˝żç¨čŞĺŽäšćťĺ¨ćĄ */
#comfyPage .workflow-loading {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: var(--theme-primary) !important;
}
#comfyPage .loading-spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    border: 3px solid rgba(var(--theme-primary-rgb), 0.3);
    border-radius: 50%;
    border-top-color: var(--theme-primary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ĺˇ˛ĺ é¤éĺ¤çsettings-barć ˇĺź */
#comfyPage .message-container {
    position: absolute;
    bottom : 15px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    transition: all 0.3s ease;
}
#comfyPage .welcome-message {
    color: var(--theme-primary);
    font-size: 14px;
    opacity: 0.7;
    text-shadow: 0 0 8px var(--theme-glow);
    animation: fadeInUp 0.5s ease-out, pulsate 2s infinite ease-in-out;
    line-height: 1.4;
    filter: brightness(0.9);
}
#comfyPage .error-message {
    color: #ff6b6b;
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
    background: rgba(255, 107, 107, 0.1);
    border-radius: 4px;
    padding: 5px 10px;
    margin: 0 auto;
    max-width: 90%;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}
@keyframes pulsate {
    0% { opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { opacity: 0.6; }
}
@keyframes connectedPulse {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}
#comfyPage .info-content {
    display:none;
    text-align: center;
    color: #999999;
    border-radius: 8px;
    width : 220px;
    height : 105px;
    padding: 0px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#comfyPage .info-content h3 {
    margin-top: 56px;
    font-size : 8px !important;
    color: transparent;
}
#comfyPage .info-content p {
    margin: 0;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
#comfyPage .info-content .contact-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #999999;
}
#comfyPage .path-error-message {
    color: #ff6b6b !important;
    font-size: 11px !important;
    margin-top: 2px !important;
    text-align: center !important;
    font-weight: 500 !important;
    text-shadow: 0 0 3px rgba(255, 107, 107, 0.5) !important;
}
#comfyPage .path-error {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.1) !important;
} 
#comfyPage .setting-item .number-input {
    width: 90px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
    padding: 0 10px;
    font-size: 14px;
    text-align: right;
}
#comfyPage .setting-item .unit-label {
    margin-left: 5px;
    color: #aaa;
    font-size: 12px;
}
#comfyPage .settings-checkbox-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    width: 100%;
    position: relative;
    z-index: 10;
}
#comfyPage .setting-checkbox-item {
    display: flex;
    align-items: center;
    margin-right: 5px;
    position: relative;
}
#comfyPage .setting-checkbox-item input[type="radio"] {
    margin: 0 5px 0 0;
    accent-color: var(--theme-primary);
    cursor: pointer;
    position: relative;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}
#comfyPage .setting-checkbox-item label {
    font-size: 11px !important;
    text-align: left !important;
    margin: 0 !important;
    white-space: nowrap;
    color: #ccc;
    cursor: pointer;
    z-index: 5;
}
#comfyPage .setting-checkbox-item * {
    pointer-events: auto !important;
}
#comfyPage .setting-item .number-input,
#comfyPage .setting-item .unit-label {
    display: none;
}
#comfyPage .toggle-icon {
    margin-right: 4px;
    font-weight: bold;
}
.toggle-resize-btn.enabled {
    background: #55585b;
    box-shadow : 0 0 8px var(--theme-glow);
    color: #fff;
}
.toggle-resize-btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #aaa;
    text-shadow: none;
}
#comfyPage .setting-input-wrapper {
    width: 100%;
    margin-bottom: 3px;
}
#comfyPage .settings-panel .setting-item:first-child,
#comfyPage .settings-panel .setting-item:first-child .setting-input-wrapper,
#comfyPage .settings-panel .setting-item:nth-child(2),
#comfyPage .settings-panel .setting-item:nth-child(2) .setting-input-wrapper {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#comfyPage .settings-panel .settings-section {
    padding: 6px !important;
}
#comfyPage .settings-panel .setting-item:first-child .path-browse-btn {
    margin-top: 3px !important;
    height: 24px !important;
}
#comfyPage .settings-panel .settings-section .setting-item .setting-input-wrapper input[type="text"],
#comfyPage .settings-panel .settings-section .setting-item .setting-input-wrapper .path-input {
    width: 100% !important;
    padding: 4px 5px !important;
    margin: 0 !important;
    background: rgba(10, 10, 20, 0.7) !important;
    border: 1px solid var(--theme-primary) !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
    transition: all 0.3s !important;
    height: 24px !important;
    display: block !important;
    line-height: 16px !important;
}
#comfyPage .settings-panel .setting-item .path-input,
#comfyPage .settings-panel .setting-item:first-child .path-input,
#comfyPage .settings-panel .setting-item:nth-child(2) .path-input {
    margin: 0 !important;
    padding: 4px 5px !important;
}
#comfyPage .setting-input-wrapper,
#comfyPage .settings-panel .setting-item .setting-input-wrapper,
#comfyPage .settings-panel .setting-item:first-child .setting-input-wrapper,
#comfyPage .settings-panel .setting-item:nth-child(2) .setting-input-wrapper {
    width: 100% !important;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-panel .settings-section .setting-item,
#comfyPage .settings-panel .settings-section .setting-item:first-child,
#comfyPage .settings-panel .settings-section .setting-item:nth-child(2) {
    flex-direction: column !important;
    margin-bottom: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
#comfyPage .settings-section input[type="text"],
#comfyPage .settings-section .path-input {
    width: auto;
    padding: 0;
    margin: 0;
}
#comfyPage .settings-section .setting-item label {
    display: block;
    width: 100%;
    text-align: center;
}
