 :root {
            --primary: #4a90e2;
			--primary1:rgb(255 255 255);
			--primary2:oklab(from hsl(0 100% 50%) l a b);/*red*/
            --success: #2ecc71;
            --bg-soft: #f8fafc;
            --text-main: #1e293b;
            --text-muted: #64748b;
			--text-muted:green;
            --panel-width: 440px;
        }

        /* --- Panel & Backdrop --- */
        .backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.4); backdrop-filter: blur(8px) saturate(150%); 
		 -webkit-backdrop-filter: blur(8px);opacity: 0; visibility: hidden; transition: 0.4s; z-index:100;}
		 .backdrop::before {
            content: '';
           margin: -35px;
		   position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			filter: blur(20px) saturate(150%);
			z-index: -1;
}
        .backdrop.active { opacity: 1; visibility: visible; }
		
        
        .side-panel { position: fixed; top: 0; right: -460px; width: var(--panel-width); height: 100%; background: white; z-index: 100; padding: 30px; box-shadow: -20px 0 60px rgba(0,0,0,0.1); transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; overflow-y: auto; display: flex; flex-direction: column; }
        .side-panel.active { right: 0; z-index:2001;}

        .hours-badge {background:oklab(from #123456 calc(l + 0.1) a b / calc(alpha * 0.9)); color: var(--primary1); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; margin-bottom: 10px; border: 1px solid #dbeafe; text-transform: uppercase; letter-spacing: 0.5px; }

        /* --- Inputs --- */
        .field-container { position: relative; margin-bottom: 18px; }
        .floating-input { width: 100%; padding: 14px 12px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 16px; outline: none; background: transparent; box-sizing: border-box; transition: 0.3s; }
        .floating-input:focus { border-color: var(--primary); }
        .floating-label { position: absolute; left: 12px; top: 14px; color: var(--text-muted); pointer-events: none; transition: 0.2s; background: white; padding: 0 4px; }
        .floating-input:focus ~ .floating-label, .floating-input:not(:placeholder-shown) ~ .floating-label { top: -10px; font-size: 12px; font-weight: 700; color: var(--primary); }

        /* --- Clock Interface --- */
        .clock-container { position: relative; width: 260px; height: 260px; background: var(--bg-soft); border-radius: 50%; margin: 10px auto; border: 2px solid #e2e8f0; overflow: hidden; flex-shrink: 0; }
        .clock-face { position: absolute; inset: 0; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; display: flex; align-items: center; justify-content: center; }
        .face-hidden { transform: scale(0.6); opacity: 0; pointer-events: none; }
        .face-zoom-out { transform: scale(1.4); opacity: 0; pointer-events: none; }

        .mark { position: absolute; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; font-weight: 600; color: var(--text-muted); transform: translate(-50%, -50%); transition: 0.2s; }
        /*.mark:hover:not(.disabled) { background: #e2e8f0; color: var(--text-main); }*/
        .mark:hover:not(.disabled) { background: oklab(81.109% -0.01808 -0.06853); color: var(--text-main); }
        .mark.selected { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4); }
        .mark.disabled { color: #cbd5e1; cursor: not-allowed; text-decoration: line-through; opacity: 0.4; }

        .ampm-toggle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 10; }
        .toggle-btn { padding: 5px 12px; border-radius: 6px; background: #e2e8f0; font-size: 11px; font-weight: 800; cursor: pointer; border: none; margin: 2px; transition: 0.2s; }
        .toggle-btn.active { background: var(--primary); color: white; }

        /* --- Document Upload --- */
        .upload-section { margin-top: 10px; padding: 12px; border: 2px dashed #e2e8f0; border-radius: 12px; background: #fdfdfd; transition: 0.3s; cursor: pointer; display: flex; align-items: center; gap: 12px; }
        .upload-section:hover, .upload-section.dragover { border-color: var(--primary); background: #f0f7ff; }
        .upload-circle { width: 34px; height: 34px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-size: 16px; }
        .upload-info span { display: block; font-size: 13px; font-weight: 700; color: var(--text-main); }
        .upload-info small { display: block; font-size: 11px; color: var(--text-muted); }
        #fileStatus { font-size: 12px; color: var(--success); font-weight: 700; margin-top: 6px; text-align: center; }

        /* --- UI Buttons --- */
        .open-btn {margin-top:10px; background: var(--primary); color: white; padding: 20px 40px; border-radius: 50px; cursor: pointer; border: none; font-weight: 700; font-size: 16px; box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); text-decoration:none; transition: 0.3s; }
        .submit-btn { background: var(--primary); color: white; padding: 18px; border-radius: 12px; cursor: pointer; font-weight: 700; width: 100%; border: none; margin-top: 20px; font-size: 16px; }
        .back-link { color: var(--primary); cursor: pointer; font-size: 13px; font-weight: 700; text-align: center; display: block; margin-bottom: 8px; text-decoration: none; }
        .hidden { display: none; }

        @media (max-width: 480px) { :root { --panel-width: 100%; } }