        body, html {
            height: 100%;
            margin: 0;
            padding: 0;
            background-color: #fff;
            overflow: hidden; 
        }

        body {
            font-family: Verdana, sans-serif;
            font-size: 11px;
            color: #000;
        }

        a {
            color: #330;
            text-decoration: none;
            border-bottom: 1px dotted #330;
            cursor: pointer;
        }
        
        a:hover {
            color: #699;
            border-bottom-color: #699;
        }

        .i-form_text_input {
            font-family: Verdana, sans-serif;
            border: 1px solid #e9e9e9;
            border-top-color: #cccccc;
            padding: 5px;
            background-color: #f6efd2; 
            font-size: 13px;
            width: 300px;
            margin-bottom: 10px;
            outline: none;
            box-sizing: border-box;
        }

        .i-form_text_input:focus {
            box-shadow: inset 0 0 0 1px #999;
        }

        .b-button_gradient {
            font-family: Georgia, serif;
            font-size: 18px;
            color: #555;
            cursor: pointer;
            border: 1px solid #d1ba8a;
            border-radius: 4px;
            padding: 5px 20px;
            background: linear-gradient(to bottom, #DDB04C 1px, #C3A054 2px, #D4BF93 100%);
            outline: none;
            box-shadow: 0 1px 2px #ccc;
        }

        .b-button_gradient:active {
            position: relative;
            top: 1px;
            box-shadow: none;
        }

        .hidden { display: none !important; }

        #login-wrapper {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            z-index: 100;
        }

        .login-box { text-align: center; }
        
        .logo-text {
            font-family: Georgia, serif; 
            font-size: 30px; 
            font-style: italic; 
            color: #000;
            margin-bottom: 20px;
            display: block;
        }

        .login-label {
            display: block;
            margin-bottom: 15px;
            font-size: 13px;
            color: #556E8C;
        }

        #main-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: center; 
            align-items: center;     
            height: 100%;
            width: 100%;
            text-align: center;
        }

        #main-content {
            max-width: 900px;
            padding: 20px;
        }

        h1.greeting {
            font-weight: normal;
            font-size: 24px;
            color: #999; 
            margin: 0 0 15px 0;
            line-height: 1.4;
            font-family: Arial, Helvetica, sans-serif;
        }

        .subtext {
            font-size: 10px;
            color: #000;
            margin-bottom: 35px;
        }

        .uptime-block {
            margin-top: 30px;
            font-size: 11px;
            color: #888;
            border-top: 1px dotted #ccc;
            padding-top: 10px;
            display: inline-block; 
        }

        .uptime-values {
            color: #CC3333; 
            font-style: italic;
        }

        .nano {
            font-size: 9px;
            opacity: 0.7;
        }

        #settings-trigger {
            position: fixed;
            top: 0;
            right: 0;
            width: 22px;
            height: 22px;
            background: #f7f7f7;
            color: #ccc;
            text-align: center;
            line-height: 22px;
            font-size: 11px;
            cursor: pointer;
            z-index: 50;
            border-bottom: 1px solid #e9e9e9;
            border-left: 1px solid #e9e9e9;
            user-select: none;
        }

        #settings-trigger:hover {
            color: #699;
            background: #fff;
        }

        #settings-panel {
            position: fixed;
            top: -200px;
            right: 0;
            width: 250px;
            background: #fff;
            border: 1px solid #ccc;
            border-top: none;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: top 0.3s ease;
            z-index: 49;
            font-size: 11px;
            text-align: left;
        }

        #settings-panel.open { top: 0; }

        .settings-close {
            position: absolute;
            top: 5px;
            right: 10px;
            border: none;
            color: #ccc;
            font-size: 14px;
        }
        .settings-close:hover { color: #000; }

    .tooltip {
        position: relative;
        display: inline-block;
        cursor: help;
        color: #ccc;
        font-size: 10px;
        margin-left: 3px;
        border-bottom: 1px dotted #ccc;
    }

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 160px;
        background-color: rgba(51, 51, 51, 0.9); 
        color: #fff;
        text-align: center;
        border-radius: 4px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        bottom: 125%; 
        left: 50%;
        margin-left: -80px;
        opacity: 0;
        transition: opacity 0.3s;
        font-family: Verdana, sans-serif;
        font-size: 11px;
        line-height: 1.3;
        pointer-events: none; 
    }


    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }


    @media (pointer: coarse) {
        .tooltip:active .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
    }
