        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #008080;
            overflow: hidden;
            height: 100vh;
            user-select: none;
        }

        /* Écran de connexion */
        .login-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .login-container {
            background: #c0c0c0;
            border: 3px solid;
            border-color: #ffffff #808080 #808080 #ffffff;
            padding: 20px;
            width: 400px;
            box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
        }

        .login-header {
            background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
            color: white;
            padding: 8px 12px;
            font-weight: bold;
            font-size: 14px;
            margin: -20px -20px 20px -20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .police-logo {
            font-size: 24px;
        }

        .login-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #000;
        }

        .login-subtitle {
            font-size: 11px;
            color: #444;
            margin-bottom: 20px;
        }

        .login-form {
            background: #fff;
            border: 2px inset #c0c0c0;
            padding: 15px;
        }

        .form-row {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .form-label {
            width: 120px;
            font-size: 12px;
            font-weight: bold;
        }

        .form-input {
            flex: 1;
            padding: 4px 8px;
            border: 2px inset #c0c0c0;
            font-size: 12px;
            font-family: monospace;
        }

        .login-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 15px;
        }

        .btn {
            padding: 6px 20px;
            font-size: 12px;
            cursor: pointer;
            background: #c0c0c0;
            border: 2px outset #fff;
            font-weight: bold;
        }

        .btn:active {
            border: 2px inset #808080;
        }

        .login-error {
            color: #ff0000;
            font-size: 11px;
            margin-top: 10px;
            display: none;
            font-weight: bold;
        }

        /* Bureau */
        .desktop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 28px;
            background: #008080;
            overflow: hidden;
        }

        /* Filigrane POLICE JUDICIAIRE */
        .desktop::before {
            content: 'POLICE JUDICIAIRE';
            position: fixed;
            bottom: 40px;
            right: 20px;
            font-size: 48px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.08);
            font-family: 'Courier New', monospace;
            letter-spacing: 8px;
            pointer-events: none;
            z-index: 0;
            text-transform: uppercase;
        }

        .desktop::after {
            content: '👮‍♂️';
            position: fixed;
            bottom: 45px;
            right: 320px;
            font-size: 36px;
            opacity: 0.08;
            pointer-events: none;
            z-index: 0;
        }

        .desktop-icon {
            position: absolute;
            width: 80px;
            text-align: center;
            cursor: pointer;
            padding: 5px;
            border: 1px solid transparent;
        }

        .desktop-icon:hover {
            border: 1px dotted #fff;
        }

        .desktop-icon-icon {
            font-size: 32px;
            margin-bottom: 5px;
        }

        .desktop-icon-label {
            color: white;
            font-size: 11px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
            word-wrap: break-word;
        }

        /* Fenêtres */
        .window {
            position: absolute;
            background: #c0c0c0;
            border: 2px outset #fff;
            min-width: 300px;
            min-height: 200px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            display: none;
            overflow: hidden;
        }

        .window.resizable {
            resize: both;
        }

        .resize-handle {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 15px;
            height: 15px;
            cursor: se-resize;
            background: linear-gradient(135deg, transparent 50%, #808080 50%);
            z-index: 1000;
        }

        .window.active {
            display: block;
        }

        .window-titlebar {
            background: linear-gradient(90deg, #808080 0%, #b0b0b0 100%);
            padding: 3px 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: move;
        }

        .window.active .window-titlebar {
            background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
        }

        .window-title {
            color: #333;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .window.active .window-title {
            color: white;
        }

        .window-buttons {
            display: flex;
            gap: 2px;
        }

        .window-btn {
            width: 16px;
            height: 14px;
            background: #c0c0c0;
            border: 1px outset #fff;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .window-menu {
            background: #c0c0c0;
            border-bottom: 1px solid #808080;
            padding: 2px 5px;
            display: flex;
            gap: 15px;
            font-size: 12px;
        }

        .menu-item-win {
            cursor: pointer;
            padding: 2px 5px;
        }

        .menu-item-win:hover {
            background: #000080;
            color: white;
        }

        .window-content {
            padding: 10px;
            overflow: auto;
            height: calc(100% - 50px);
            background: #fff;
            border: 2px inset #c0c0c0;
            margin: 2px;
        }

        /* Barre des tâches */
        .taskbar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 28px;
            background: #c0c0c0;
            border-top: 2px solid #fff;
            display: flex;
            align-items: center;
            padding: 2px;
            z-index: 9999;
        }

        .start-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 2px 8px;
            background: #c0c0c0;
            border: 2px outset #fff;
            font-weight: bold;
            font-size: 12px;
            cursor: pointer;
            margin-right: 10px;
        }

        .start-icon {
            font-size: 16px;
        }

        .taskbar-tasks {
            flex: 1;
            display: flex;
            gap: 3px;
        }

        .task-item {
            padding: 3px 8px;
            background: #c0c0c0;
            border: 2px outset #fff;
            font-size: 11px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .clock {
            padding: 2px 8px;
            background: #c0c0c0;
            border: 2px inset #c0c0c0;
            font-size: 11px;
            font-family: monospace;
        }

        /* Menu Démarrer */
        .start-menu {
            position: fixed;
            bottom: 28px;
            left: 0;
            width: 200px;
            background: #c0c0c0;
            border: 2px outset #fff;
            display: none;
            z-index: 10000;
        }

        .start-menu.show {
            display: block;
        }

        .start-menu-items {
            padding: 5px;
        }

        .start-menu-item {
            padding: 8px 15px;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .start-menu-item:hover {
            background: #000080;
            color: white;
        }

        /* Fiche suspect */
        .suspect-file {
            font-family: 'Courier New', monospace;
            background: #fff;
            padding: 20px;
        }

        .file-header {
            background: #f0f0f0;
            border: 2px solid #000;
            padding: 15px;
            margin-bottom: 20px;
        }

        .file-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .file-section {
            margin-bottom: 20px;
            border: 1px solid #ccc;
            padding: 15px;
        }

        .section-title {
            background: #e0e0e0;
            padding: 5px 10px;
            font-weight: bold;
            font-size: 14px;
            margin: -15px -15px 15px -15px;
        }

        .info-row {
            display: flex;
            margin-bottom: 8px;
            font-size: 12px;
        }

        .info-label {
            width: 150px;
            font-weight: bold;
        }

        .alert-box {
            background: #fff3cd;
            border: 2px solid #ff8800;
            padding: 15px;
            margin: 15px 0;
        }

        .timeline {
            position: relative;
            padding-left: 30px;
        }

        .timeline:before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #000;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 20px;
            padding: 15px;
            background: #f9f9f9;
            border: 1px solid #ddd;
        }

        .timeline-item:before {
            content: '';
            position: absolute;
            left: -25px;
            top: 20px;
            width: 12px;
            height: 12px;
            background: #000080;
            border-radius: 50%;
        }

        .timeline-time {
            font-weight: bold;
            color: #000080;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .timeline-critical {
            background: #ffebee;
            border-color: #ff0000;
        }

        .timeline-critical:before {
            background: #ff0000;
        }

        /* Client Email Style Outlook */
        .email-client {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .email-toolbar {
            background: #f3f3f3;
            border-bottom: 1px solid #d0d0d0;
            padding: 8px 12px;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .email-btn {
            background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
            border: 1px solid #d0d0d0;
            padding: 5px 15px;
            font-size: 12px;
            cursor: pointer;
            border-radius: 3px;
        }

        .email-btn:hover {
            background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
        }

        .email-container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .email-folder-list {
            width: 180px;
            background: #f3f3f3;
            border-right: 1px solid #d0d0d0;
            padding: 10px;
        }

        .email-folder {
            padding: 6px 10px;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            border-radius: 3px;
        }

        .email-folder:hover {
            background: #e0e0e0;
        }

        .email-folder.active {
            background: #c5e4f9;
        }

        .email-folder-count {
            margin-left: auto;
            background: #0078d4;
            color: white;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
        }

        .email-list {
            width: 320px;
            background: #fff;
            border-right: 1px solid #d0d0d0;
            overflow-y: auto;
        }

        .email-item {
            padding: 12px;
            border-bottom: 1px solid #e0e0e0;
            cursor: pointer;
            font-size: 12px;
        }

        .email-item:hover {
            background: #f5f5f5;
        }

        .email-item.selected {
            background: #c5e4f9;
        }

        .email-item.unread .email-sender,
        .email-item.unread .email-subject {
            font-weight: bold;
        }

        .email-sender {
            margin-bottom: 4px;
            color: #333;
        }

        .email-subject {
            color: #333;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .email-preview {
            color: #666;
            font-size: 11px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .email-date {
            color: #999;
            font-size: 11px;
            margin-top: 4px;
        }

        .email-reading-pane {
            flex: 1;
            background: #fff;
            padding: 20px;
            overflow-y: auto;
        }

        .email-header {
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .email-header-subject {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .email-header-row {
            font-size: 12px;
            margin-bottom: 5px;
            color: #666;
        }

        .email-header-row strong {
            color: #333;
            display: inline-block;
            width: 60px;
        }

        .email-body {
            font-size: 13px;
            line-height: 1.6;
            color: #333;
        }

        .email-body p {
            margin-bottom: 12px;
        }

        .clue-highlight {
            background: #fff3cd;
            padding: 2px 4px;
            border-radius: 3px;
        }

        /* Folder browser */
        .folder-browser {
            padding: 20px;
        }

        .folder-item {
            display: inline-block;
            width: 120px;
            text-align: center;
            margin: 15px;
            cursor: pointer;
            padding: 15px;
            border: 2px solid transparent;
            border-radius: 5px;
        }

        .folder-item:hover {
            background: #e8f4fd;
            border-color: #0078d4;
        }

        .folder-icon {
            font-size: 48px;
            margin-bottom: 8px;
        }

        .folder-name {
            font-size: 12px;
            font-weight: bold;
        }

        .back-button {
            background: #f0f0f0;
            border: 1px solid #d0d0d0;
            padding: 5px 15px;
            font-size: 12px;
            cursor: pointer;
            margin-bottom: 15px;
            border-radius: 3px;
        }

        .back-button:hover {
            background: #e0e0e0;
        }

        .breadcrumb {
            font-size: 12px;
            color: #666;
            margin-bottom: 15px;
            padding: 10px;
            background: #f5f5f5;
            border-radius: 3px;
        }

        /* === STYLES DES NOUVELLES APPLICATIONS === */

        /* Calculatrice Windows 95 */
        .calculator-display {
            background: #fff;
            border: 2px inset #c0c0c0;
            padding: 10px;
            font-size: 20px;
            font-family: 'Courier New', monospace;
            text-align: right;
            margin-bottom: 10px;
            min-height: 40px;
        }

        .calc-btn {
            width: 45px;
            height: 35px;
            margin: 2px;
            font-size: 14px;
            cursor: pointer;
            background: #c0c0c0;
            border: 2px outset #fff;
            font-weight: bold;
        }

        .calc-btn:active {
            border: 2px inset #808080;
        }

        .calc-btn-wide {
            width: 96px;
        }

        .calc-btn-tall {
            height: 74px;
            float: right;
        }

        /* Radio Police */
        .radio-display {
            background: #000;
            color: #0f0;
            font-family: 'Courier New', monospace;
            padding: 15px;
            border: 3px inset #808080;
            height: 300px;
            overflow-y: auto;
            font-size: 12px;
            line-height: 1.6;
        }

        .radio-message {
            margin-bottom: 8px;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.7; }
        }

        .radio-controls {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            padding: 10px;
            background: #c0c0c0;
            border: 2px inset #c0c0c0;
        }

        .radio-btn {
            padding: 8px 20px;
            background: #c0c0c0;
            border: 2px outset #fff;
            cursor: pointer;
            font-size: 12px;
        }

        .radio-btn:active {
            border: 2px inset #808080;
        }

        .radio-btn.active {
            background: #000080;
            color: #fff;
        }

        /* Démineur */
        .minesweeper-container {
            display: inline-block;
            background: #c0c0c0;
            border: 3px outset #fff;
            padding: 10px;
        }

        .minesweeper-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #c0c0c0;
            border: 2px inset #c0c0c0;
            padding: 5px 10px;
            margin-bottom: 10px;
        }

        .mine-counter, .mine-timer {
            background: #000;
            color: #f00;
            font-family: 'Courier New', monospace;
            font-size: 20px;
            padding: 2px 8px;
            border: 1px inset #808080;
            min-width: 50px;
            text-align: center;
        }

        .mine-face-btn {
            width: 30px;
            height: 30px;
            font-size: 18px;
            background: #c0c0c0;
            border: 2px outset #fff;
            cursor: pointer;
        }

        .mine-grid {
            display: grid;
            grid-template-columns: repeat(9, 25px);
            gap: 1px;
            background: #808080;
            border: 3px inset #c0c0c0;
        }

        .mine-cell {
            width: 25px;
            height: 25px;
            background: #c0c0c0;
            border: 2px outset #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            user-select: none;
        }

        .mine-cell.revealed {
            border: 1px solid #808080;
            background: #c0c0c0;
            cursor: default;
        }

        .mine-cell.flagged {
            background: #c0c0c0;
        }

        .mine-cell.mine {
            background: #f00;
        }

        .mine-cell.adjacent-1 { color: #00f; }
        .mine-cell.adjacent-2 { color: #080; }
        .mine-cell.adjacent-3 { color: #f00; }
        .mine-cell.adjacent-4 { color: #008; }
        .mine-cell.adjacent-5 { color: #800; }
        .mine-cell.adjacent-6 { color: #088; }
        .mine-cell.adjacent-7 { color: #000; }
        .mine-cell.adjacent-8 { color: #808080; }

        /* Plan interactif */
        .map-container {
            position: relative;
            background: #f0f0f0;
            border: 2px inset #c0c0c0;
            padding: 20px;
            min-height: 400px;
        }

        .map-room {
            position: absolute;
            border: 2px solid #333;
            background: #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
        }

        .map-room:hover {
            background: #c5e4f9;
            border-color: #0078d4;
        }

        .map-room.crime-scene {
            border-color: #f00;
            background: #ffebee;
        }

        .map-marker {
            position: absolute;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .map-marker:hover {
            transform: scale(1.3);
        }

        /* Carnet d'adresses */
        .address-book-container {
            display: flex;
            height: 100%;
        }

        .address-list {
            width: 200px;
            background: #f3f3f3;
            border-right: 1px solid #d0d0d0;
            overflow-y: auto;
        }

        .address-item {
            padding: 10px;
            border-bottom: 1px solid #e0e0e0;
            cursor: pointer;
            font-size: 12px;
        }

        .address-item:hover {
            background: #e0e0e0;
        }

        .address-item.selected {
            background: #c5e4f9;
        }

        .address-details {
            flex: 1;
            padding: 20px;
            font-size: 13px;
        }

        .address-field {
            margin-bottom: 12px;
            padding: 8px;
            background: #f9f9f9;
            border: 1px solid #e0e0e0;
        }

        .address-label {
            font-weight: bold;
            color: #666;
            font-size: 11px;
            margin-bottom: 3px;
        }

        /* Agenda */
        .calendar-container {
            padding: 10px;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            background: #c0c0c0;
            border: 2px outset #fff;
        }

        .calendar-nav-btn {
            padding: 5px 15px;
            background: #c0c0c0;
            border: 2px outset #fff;
            cursor: pointer;
            font-size: 12px;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            background: #808080;
            border: 2px inset #c0c0c0;
        }

        .calendar-day-header {
            background: #c0c0c0;
            padding: 8px;
            text-align: center;
            font-weight: bold;
            font-size: 11px;
        }

        .calendar-day {
            background: #fff;
            min-height: 60px;
            padding: 5px;
            font-size: 11px;
            cursor: pointer;
            position: relative;
        }

        .calendar-day:hover {
            background: #e8f4fd;
        }

        .calendar-day.other-month {
            background: #f0f0f0;
            color: #999;
        }

        .calendar-day.today {
            background: #c5e4f9;
            font-weight: bold;
        }

        .calendar-day.has-event::after {
            content: '';
            position: absolute;
            bottom: 3px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: #f00;
            border-radius: 50%;
        }

        .calendar-event {
            font-size: 9px;
            background: #ffeb3b;
            padding: 2px;
            margin-top: 2px;
            border-radius: 2px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
