:root { 
            --bg-color: #0b0f19; 
            --panel-bg: rgba(11, 15, 25, 0.85); 
            --border-color: rgba(0, 76, 124, 0.5); /* TULPARS Blue */
            --text-main: #e2e8f0; 
            --text-muted: #94a3b8; 
            --accent: #f26522; /* TULPARS Orange */
            --accent-hover: #ff7b3b; 
            --danger: #dc2626; 
            --glass-blur: blur(20px); 
            --glow: 0 0 15px rgba(242, 101, 34, 0.4);
        }
        body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Inter', sans-serif; margin: 0; padding: 0; height: 100vh; overflow: hidden; display:flex; flex-direction:column; }
        
        
        /* Hamburger Menu */
        .hamburger-menu {
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .hamburger-line {
            width: 30px;
            height: 3px;
            background-color: var(--accent);
            transition: all 0.3s;
        }
        .hamburger-dropdown {
            position: absolute;
            top: 60px;
            right: 20px;
            background: var(--panel-bg);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 5px;
            padding: 10px;
            display: none;
            z-index: 1000;
            min-width: 200px;
            box-shadow: var(--glow);
        }
        .hamburger-dropdown.active {
            display: block;
        }
        .hamburger-item {
            padding: 10px;
            color: white;
            cursor: pointer;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            text-transform: uppercase;
        }
        .hamburger-item:hover {
            background: rgba(255,255,255,0.1);
            color: var(--accent);
        }
        
        /* Modal for Site Yonetimi */
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        .modal-content {
            background: var(--bg-color);
            padding: 30px;
            border-radius: 10px;
            border: 1px solid var(--accent);
            width: 90%;
            max-width: 500px;
            box-shadow: var(--glow);
        }
        .modal-close {
            float: right;
            cursor: pointer;
            color: var(--accent);
            font-size: 20px;
            font-weight: bold;
        }
        .ctx-item:hover { background: rgba(255,255,255,0.1); color: var(--accent) !important; }

/* LOGIN SCREEN */
        #login-screen { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(11,15,25,0.98); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: var(--glass-blur); }
        .login-box { background: var(--panel-bg); padding: 40px; border-radius: 20px; border: 2px solid var(--accent); box-shadow: var(--glow); text-align: center; width: 350px; }
        .login-box video { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 2px solid var(--accent); box-shadow: var(--glow); }
        .login-box h2 { margin: 0 0 20px 0; color: var(--accent); font-weight: 800; letter-spacing: 1px; }
        .login-box input { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border-color); background: rgba(0,0,0,0.5); color: white; outline: none; text-align: center; box-sizing: border-box; }
        .login-box input:focus { border-color: var(--accent); box-shadow: 0 0 8px rgba(242, 101, 34, 0.3); }
        .login-box button { width: 100%; padding: 12px; background: var(--accent); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; box-shadow: var(--glow); }
        .login-box button:hover { background: var(--accent-hover); transform: translateY(-2px); }

        /* HEADER */
        .header { display: flex; align-items: center; justify-content: space-between; padding: 15px 30px; background: var(--panel-bg); border-bottom: 2px solid var(--border-color); box-shadow: 0 5px 15px rgba(0,0,0,0.5); backdrop-filter: var(--glass-blur); z-index: 10; }
        .header video, .header img { object-fit: cover; }
        .header-title { text-align: center; flex: 1; }
        .header-title h1 { margin: 0; font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: 2px; text-shadow: 0 0 10px rgba(242,101,34,0.3); }
        .header-title p { margin: 5px 0 0 0; font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
        
        /* TABS */
        .tabs { display: flex; background: rgba(0,0,0,0.5); border-bottom: 1px solid var(--border-color); }
        .tab-btn { flex: 1; padding: 15px 0; text-align: center; cursor: pointer; background: transparent; color: var(--text-muted); border: none; border-bottom: 3px solid transparent; font-weight: 600; transition: 0.3s; font-size: 14px; }
        .tab-btn:hover { color: white; background: rgba(255,255,255,0.05); }
        .tab-btn.active { color: var(--accent); border-bottom: 3px solid var(--accent); text-shadow: 0 0 8px rgba(242,101,34,0.4); }

        /* CONTENT AREA */
        .tab-content { flex: 1; overflow: hidden; display: none; position: relative; }
        .tab-content.active { display: flex; flex-direction: column; }

        /* MAP TAB */
        #map { width: 100%; height: 100%; }

        /* RADIOS TAB */
        .radios-container { display: flex; flex: 1; overflow: hidden; }
        .sidebar { width: 350px; background: var(--panel-bg); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; }
        .panel-header { padding: 15px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border-color); font-weight: 600; text-align: center; color: var(--accent); }
        .user-list { flex: 1; overflow-y: auto; padding: 10px; }
        .user-item { padding: 12px; margin-bottom: 8px; background: rgba(0,0,0,0.4); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: 0.2s; display: flex; justify-content: space-between; align-items: center; }
        .user-item:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
        .user-item.active { border-color: var(--accent); box-shadow: var(--glow); }
        
        .main-content { flex: 1; display: flex; flex-direction: column; background: #0b0f19; }
        .room-header { padding: 20px; background: var(--panel-bg); border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .room-title { font-size: 20px; font-weight: 800; color: white; }
        .logs-area { flex: 1; overflow-y: auto; padding: 20px; font-family: monospace; font-size: 13px; line-height: 1.5; background: rgba(0,0,0,0.3); }
        .log-entry { margin-bottom: 4px; padding: 4px 8px; border-radius: 4px; }
        .log-auth { color: #58a6ff; } .log-info { color: #8b949e; } .log-err { color: #f85149; }
        
        .ptt-container { padding: 30px; background: var(--panel-bg); border-top: 1px solid var(--border-color); display: flex; justify-content: center; }
        #ptt-btn { width: 100px; height: 100px; border-radius: 50%; background: var(--danger); border: 5px solid #7f1d1d; color: white; font-size: 28px; cursor: pointer; box-shadow: 0 0 20px rgba(220,38,38,0.4); outline: none; transition: 0.1s; display: flex; align-items: center; justify-content: center; user-select: none; }
        #ptt-btn:active { transform: scale(0.95); }

        /* SETTINGS TAB */
        .settings-container { padding: 30px; max-width: 600px; margin: 0 auto; width: 100%; overflow-y: auto; }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 14px; }
        .form-group input, .form-group select { width: 100%; padding: 12px; background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); border-radius: 8px; color: white; outline: none; box-sizing: border-box; }
        .form-group input:focus { border-color: var(--accent); box-shadow: 0 0 8px rgba(242,101,34,0.3); }
        .save-btn { width: 100%; padding: 15px; background: var(--accent); color: white; border: none; border-radius: 8px; font-weight: bold; font-size: 16px; cursor: pointer; box-shadow: var(--glow); transition: 0.2s; }
        .save-btn:hover { background: var(--accent-hover); }
        
        /* TOAST */
        #toast-msg { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: white; padding: 12px 24px; border-radius: 8px; box-shadow: var(--glow); font-weight: 600; opacity: 0; transition: opacity 0.3s; z-index: 10000; pointer-events: none; }
    
        .ctx-item { transition: all 0.2s ease; }
        .ctx-item:hover { background-color: var(--accent) !important; color: white !important; border-radius: 4px; }
    @keyframes pulse-red { 0% { box-shadow: 0 0 10px rgba(220,38,38,0.5); } 50% { box-shadow: 0 0 25px rgba(220,38,38,1); } 100% { box-shadow: 0 0 10px rgba(220,38,38,0.5); } }
.room-lock-badge{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:rgba(248,81,73,.18);border:1px solid #f85149;color:#ff7b72;font-size:10px;font-weight:800}.room-open-badge{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:rgba(63,185,80,.12);border:1px solid rgba(63,185,80,.45);color:#56d364;font-size:10px;font-weight:700}


/* ===== H49: SUNUCU SAATI + CANLI DURUM BANDI + KOMPAKT ETKINLIK SAATLERI ===== */
.h49-header-status{display:flex;justify-content:flex-end;align-items:center;min-width:420px;padding-top:8px;}
.h49-server-clock{display:flex;align-items:center;justify-content:flex-end;gap:15px;color:#fff;font-family:monospace;white-space:nowrap;margin-right:10px;}
.h49-clock-label{font-size:11px;color:var(--text-muted);font-weight:800;letter-spacing:.7px;}
.h49-dot{color:#3fb950;font-size:11px;text-shadow:0 0 8px rgba(63,185,80,.75);}
.h49-clock-time{font-size:19px;font-weight:900;letter-spacing:1.4px;color:#fff;}
.h49-clock-sep{font-size:20px;color:rgba(255,255,255,.5);}
.h49-clock-date{font-size:12px;font-weight:700;color:var(--text-muted);letter-spacing:.5px;}
.h49-status-strip{width:100%;overflow:hidden;border-top:1px solid rgba(0,170,255,.18);border-bottom:1px solid rgba(0,170,255,.28);background:rgba(2,8,18,.78);height:34px;display:flex;align-items:center;position:relative;}
.h49-status-ticker{display:inline-flex;align-items:center;gap:20px;min-width:max-content;white-space:nowrap;color:#58a6ff;font-size:12px;font-weight:800;letter-spacing:.25px;animation:h49Ticker 38s linear infinite;padding-left:100%;will-change:transform;}
.h49-status-ticker span:first-child{color:#3fb950;}
.h49-status-ticker i{font-style:normal;color:#3b82f6;opacity:.85;}
.h49-status-strip:hover .h49-status-ticker{animation-play-state:paused;}
@keyframes h49Ticker{from{transform:translateX(0)}to{transform:translateX(-100%)}}

.h49-schedule-row{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;}
.h49-time-field{width:220px;flex:0 0 220px;}
.h49-duration-field{width:130px;flex:0 0 130px;}
.h49-time-field label,.h49-duration-field label{color:var(--text-muted);font-size:12px;margin-bottom:6px;display:block;}
.h49-input-wrap{height:46px;display:flex;align-items:center;gap:8px;padding:0 12px;background:rgba(0,0,0,.5);border:1px solid var(--border-color);border-radius:8px;box-sizing:border-box;}
.h49-input-wrap span{font-size:17px;line-height:1;}
.h49-input-wrap input{width:100%;height:42px;background:transparent;border:0;color:#fff;font-size:17px;font-weight:800;outline:none;color-scheme:dark;min-width:0;}
.h49-duration-field input{width:100%;height:46px;padding:0 12px;background:rgba(0,0,0,.5);border:1px solid var(--border-color);border-radius:8px;color:#fff;font-size:17px;font-weight:800;box-sizing:border-box;outline:none;}
.h49-check{height:46px;display:flex;align-items:center;gap:7px;color:#fff;font-size:14px;font-weight:700;cursor:pointer;padding:0 2px;}
.h49-check input{width:18px;height:18px;cursor:pointer;}
.h49-add-btn{height:46px;padding:0 22px;background:var(--accent);color:#fff;border:0;border-radius:8px;font-weight:900;cursor:pointer;}
@media(max-width:900px){.h49-header-status{min-width:0;width:100%;justify-content:center;padding-top:4px}.h49-server-clock{gap:8px;margin:0;flex-wrap:wrap;justify-content:center}.h49-clock-label{width:100%;text-align:center}.h49-status-ticker{animation-duration:26s}.h49-schedule-row{gap:10px}.h49-time-field{width:calc(50% - 5px);flex:1 1 180px}.h49-duration-field{width:120px;flex:1 1 120px}.h49-add-btn{flex:0 0 auto}}


/* ================= TCC H51 HEADER / SYSTEM ================= */
.tcc51-top{background:linear-gradient(180deg,#070d17 0%,#08111e 100%);border-bottom:1px solid rgba(0,170,255,.25);box-shadow:0 8px 24px rgba(0,0,0,.35);}
.tcc51-brand-row{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:9px 18px 6px;gap:16px;}
.tcc51-main-title{min-width:0;cursor:pointer;}
#tcc51-header-title{font-size:25px;font-weight:950;letter-spacing:1.15px;color:#fff;text-shadow:0 0 16px rgba(88,166,255,.22);}
.tcc51-buildline{display:flex;align-items:center;gap:9px;margin-top:5px;font-size:11px;color:#7d8ca3;letter-spacing:.7px;}
.tcc51-buildline span:first-child{color:#58a6ff;font-weight:900;}
.tcc51-brand-assets{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.tcc51-brand-box,.tcc51-flag-box{height:50px;border:1px solid rgba(88,166,255,.55);border-radius:7px;display:flex;align-items:center;justify-content:center;font-weight:950;color:#fff;overflow:hidden;background:rgba(255,255,255,.035);}
.tcc51-brand-box{width:112px;letter-spacing:1.4px}.tcc51-flag-box{width:54px;background:rgba(185,28,28,.75)}
.tcc51-brand-box img,.tcc51-flag-box img{width:100%;height:100%;object-fit:contain;background:#fff;}
.tcc51-server-row{min-height:46px;display:flex;align-items:center;padding:5px 12px 5px 18px;border-top:1px solid rgba(255,255,255,.04);gap:10px;}
.tcc51-quick-status{display:flex;align-items:center;gap:7px;min-width:0;flex:1;overflow:hidden;white-space:nowrap;}
.tcc51-status-chip{height:28px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid rgba(88,166,255,.16);background:rgba(255,255,255,.035);border-radius:14px;color:#dbe8f7;font-size:10px;font-weight:850;}
.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.dot.green{background:#3fb950;box-shadow:0 0 7px #3fb950}.dot.yellow{background:#d29922;box-shadow:0 0 7px #d29922}.dot.red{background:#f85149;box-shadow:0 0 7px #f85149}
.tcc51-manager-box{min-width:116px;text-align:right;border-left:1px solid rgba(255,255,255,.08);padding-left:9px;}
.tcc51-manager-name{color:#fff;font-size:10px;font-weight:900;white-space:nowrap}.tcc51-manager-role{color:#58a6ff;font-size:9px;margin-top:2px}
.tcc51-clock{display:flex;align-items:center;gap:8px;font-family:monospace;white-space:nowrap;color:#fff;font-weight:900;font-size:14px;padding:0 4px;}
#server-clock-date{color:#8797ad;font-size:10px;font-weight:700}
.tcc51-hamburger{width:39px;height:34px;border:1px solid rgba(242,101,34,.65);border-radius:7px;background:rgba(242,101,34,.12);color:#ff8a4c;font-size:21px;font-weight:900;cursor:pointer;flex:0 0 auto;}
.tcc51-menu-head{pointer-events:none;color:#58a6ff!important;font-size:11px!important;text-align:center;border-bottom:1px solid rgba(88,166,255,.2)}
.tcc51-wide-modal{width:min(980px,92vw);max-width:980px;max-height:86vh;overflow:auto;}
.tcc51-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;}
.tcc51-health-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-left:4px solid #3fb950;border-radius:8px;padding:12px;min-height:66px;}
.tcc51-health-card.yellow{border-left-color:#d29922}.tcc51-health-card.red{border-left-color:#f85149}
.tcc51-health-title{font-size:11px;color:#91a2b9;font-weight:800}.tcc51-health-value{font-size:18px;color:#fff;font-weight:950;margin-top:7px}
.tcc51-super-card{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,rgba(242,101,34,.15),rgba(88,166,255,.08));border:1px solid rgba(242,101,34,.38);padding:14px;border-radius:9px;margin-bottom:12px}.tcc51-super-card small{display:block;color:#8998ab;margin-top:4px}
.tcc51-role-badge{font-size:10px;font-weight:950;padding:5px 8px;border-radius:12px}.tcc51-role-badge.super{background:rgba(242,101,34,.2);color:#ff9b64;border:1px solid rgba(242,101,34,.4)}
.tcc51-manager-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tcc51-manager-slot{background:rgba(255,255,255,.035);border:1px solid rgba(88,166,255,.18);border-radius:9px;padding:13px}.tcc51-manager-slot h3{color:#58a6ff;margin:0 0 10px}.tcc51-manager-slot input[type=text],.tcc51-manager-slot input[type=password],.tcc51-manager-slot input:not([type]){width:100%;box-sizing:border-box;margin:5px 0;padding:9px;background:#0b111b;border:1px solid rgba(255,255,255,.13);border-radius:6px;color:#fff}.tcc51-manager-slot label{display:block;margin:8px 0;color:#c7d2e0;font-size:12px}.tcc51-manager-slot button{width:100%;padding:9px;border:0;border-radius:6px;background:#2563eb;color:#fff;font-weight:900;cursor:pointer}
.tcc51-log-list{margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:8px;max-height:270px;overflow:auto;background:rgba(0,0,0,.22)}.tcc51-log-row{padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.05);font-size:11px;color:#d8e3ef}.tcc51-log-row b{color:#58a6ff}.tcc51-log-row small{color:#78889d;float:right}.tcc51-danger-btn{border:1px solid rgba(248,81,73,.45);background:rgba(248,81,73,.12);color:#ff7b72;border-radius:6px;padding:7px 10px;font-weight:850;cursor:pointer}
@media(max-width:1100px){.tcc51-status-chip:nth-child(n+7){display:none}.tcc51-manager-box{display:none}.tcc51-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#tcc51-header-title{font-size:18px}.tcc51-brand-box{width:82px}.tcc51-brand-row{min-height:66px}.tcc51-status-chip:nth-child(n+5){display:none}.tcc51-clock{font-size:12px}.tcc51-system-grid,.tcc51-manager-slots{grid-template-columns:1fr}}


/* ================= TCC H55 RESPONSIVE ENGINE ================= */
.tcc55-mobile-home,.tcc55-mobile-bottom{display:none}
.tcc55-view-toggle{height:30px;min-width:46px;padding:0 7px;border-radius:7px;border:1px solid rgba(88,166,255,.4);background:rgba(88,166,255,.08);color:#8bc5ff;font-size:9px;font-weight:900;cursor:pointer}
.tcc55-view-head{pointer-events:none;color:#7f91a8!important;font-size:9px!important;letter-spacing:1px;border-top:1px solid rgba(255,255,255,.07);margin-top:4px}
.tcc55-view-sep{height:1px!important;padding:0!important;margin:4px 8px!important;background:rgba(255,255,255,.07)!important;pointer-events:none}

html.tcc-mobile-mode,html.tcc-mobile-mode body{max-width:100%;overflow-x:hidden}
.tcc-mobile-mode body{padding-bottom:70px!important}
.tcc-mobile-mode .tcc51-top{position:sticky;top:0;z-index:3000}
.tcc-mobile-mode .tcc51-brand-row{min-height:48px;padding:6px 10px}
.tcc-mobile-mode #tcc51-header-title{font-size:15px;letter-spacing:.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65vw}
.tcc-mobile-mode .tcc51-buildline{font-size:8px;margin-top:2px;gap:5px}
.tcc-mobile-mode .tcc51-brand-assets{display:none}
.tcc-mobile-mode .tcc51-server-row{min-height:37px;padding:3px 7px;gap:5px}
.tcc-mobile-mode .tcc51-quick-status{gap:4px}
.tcc-mobile-mode .tcc51-status-chip{display:none!important}
.tcc-mobile-mode .tcc51-status-chip:first-child,
.tcc-mobile-mode #tcc51-radios{display:inline-flex!important;height:25px;font-size:9px;padding:0 6px}
.tcc-mobile-mode .tcc51-manager-box{display:none!important}
.tcc-mobile-mode .tcc51-clock{margin-left:auto;font-size:11px;gap:4px;padding:0}
.tcc-mobile-mode #server-clock-date{display:none}
.tcc-mobile-mode .tcc51-hamburger{width:34px;height:30px;font-size:18px}
.tcc-mobile-mode .tcc55-view-toggle{height:29px;min-width:42px}
.tcc-mobile-mode .h49-status-strip{display:none}
.tcc-mobile-mode .tabs{display:none!important}

.tcc-mobile-mode .tcc55-mobile-home{display:none;padding:12px 11px 90px;background:#080e18;min-height:calc(100vh - 90px)}
.tcc-mobile-mode .tcc55-mobile-home.active{display:block}
.tcc55-mobile-title{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 12px}
.tcc55-mobile-title>div:first-child{display:flex;flex-direction:column}.tcc55-mobile-title b{font-size:25px;color:#fff;letter-spacing:.5px}.tcc55-mobile-title span{font-size:10px;color:#8697ad;margin-top:1px}
.tcc55-mobile-role{font-size:9px!important;color:#58a6ff!important;border:1px solid rgba(88,166,255,.25);padding:5px 7px;border-radius:12px;background:rgba(88,166,255,.06)}
.tcc55-mobile-health{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.tcc55-mcard{min-height:72px;border-radius:12px;border:1px solid rgba(88,166,255,.17);background:linear-gradient(145deg,rgba(17,30,48,.95),rgba(8,15,26,.95));display:grid;grid-template-columns:35px 1fr;grid-template-rows:1fr 1fr;padding:10px;box-shadow:0 8px 18px rgba(0,0,0,.22)}
.tcc55-mcard>span{grid-row:1/3;display:flex;align-items:center;font-size:23px}.tcc55-mcard small{color:#7f91a7;font-size:10px;align-self:end}.tcc55-mcard b{color:#fff;font-size:18px;align-self:start;margin-top:1px}
.tcc55-mobile-section-title{font-size:10px;color:#7890aa;font-weight:900;letter-spacing:1.1px;margin:18px 2px 8px}
.tcc55-mobile-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.tcc55-mobile-actions button{height:70px;border:1px solid rgba(88,166,255,.2);border-radius:12px;background:#101a30;color:#eaf4ff;font-size:12px;font-weight:850;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;touch-action:manipulation}
.tcc55-mobile-actions button span{font-size:23px}.tcc55-mobile-actions button:active{transform:scale(.97);background:#15263b}.tcc55-mobile-actions .danger{border-color:rgba(248,81,73,.35);background:rgba(90,20,25,.28)}
.tcc55-mobile-status-list{border:1px solid rgba(88,166,255,.14);background:#0d1623;border-radius:12px;overflow:hidden}
.tcc55-mobile-status-list>div{min-height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.045);font-size:11px}.tcc55-mobile-status-list>div:last-child{border:0}.tcc55-mobile-status-list span{color:#a9b8c9}.tcc55-mobile-status-list b{color:#fff}.tcc55-mobile-status-list b.ok{color:#3fb950}.tcc55-mobile-status-list b.bad{color:#ff6b63}

.tcc-mobile-mode .tcc55-mobile-bottom{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:4500;left:0;right:0;bottom:0;height:62px;padding-bottom:env(safe-area-inset-bottom);background:rgba(6,12,21,.97);border-top:1px solid rgba(88,166,255,.25);box-shadow:0 -8px 30px rgba(0,0,0,.5);backdrop-filter:blur(15px)}
.tcc55-mobile-bottom button{border:0;background:transparent;color:#75869b;font-size:9px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.tcc55-mobile-bottom button span{font-size:18px}.tcc55-mobile-bottom button.active{color:#58a6ff;background:linear-gradient(180deg,rgba(88,166,255,.08),transparent)}

.tcc-mobile-mode .tab-content{height:auto!important;min-height:calc(100vh - 90px);overflow:visible!important;padding-bottom:76px}
.tcc-mobile-mode #tab-radios.tab-content.active{display:block!important}
.tcc-mobile-mode .radios-container{display:block!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
.tcc-mobile-mode .radios-container>.sidebar{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;border-right:0!important}
.tcc-mobile-mode .radios-container>.main-content{width:100%!important;min-height:55vh!important}
.tcc-mobile-mode .panel-header{position:sticky;top:85px;z-index:120;background:#0d1522}
.tcc-mobile-mode .sidebar-tab{padding:13px 4px!important;font-size:12px!important}
.tcc-mobile-mode .user-list,.tcc-mobile-mode .room-list{max-height:none!important;overflow:visible!important}
.tcc-mobile-mode .user-item{min-height:58px!important;padding:11px!important;font-size:13px!important}
.tcc-mobile-mode #tab-map .radios-container>.sidebar{display:none!important}
.tcc-mobile-mode #tab-map .radios-container>.main-content{height:calc(100vh - 150px)!important}
.tcc-mobile-mode #map{min-height:calc(100vh - 150px)!important}
.tcc-mobile-mode #tab-personnel{padding:10px!important}
.tcc-mobile-mode #tab-personnel>div:first-child{display:block!important;margin:0 0 10px!important}.tcc-mobile-mode #tab-personnel h2{font-size:15px!important;margin-bottom:10px!important}.tcc-mobile-mode #tab-personnel>div:first-child>div{margin:0!important;display:grid!important;grid-template-columns:1fr!important}.tcc-mobile-mode #tab-personnel button{width:100%!important;padding:11px!important}
.tcc-mobile-mode #tab-personnel table{min-width:720px}.tcc-mobile-mode #tab-personnel>div:nth-child(2){overflow-x:auto!important;padding:8px!important}
.tcc-mobile-mode .modal{align-items:flex-end!important;padding:0!important}
.tcc-mobile-mode .modal-content{width:100%!important;max-width:none!important;max-height:88vh!important;margin:0!important;border-radius:18px 18px 0 0!important;padding:16px!important;overflow-y:auto!important}
.tcc-mobile-mode .tcc51-wide-modal{width:100%!important}
.tcc-mobile-mode .hamburger-dropdown{position:fixed!important;right:8px!important;top:82px!important;left:8px!important;width:auto!important;max-height:70vh;overflow-y:auto;border-radius:12px}
.tcc-mobile-mode input,.tcc-mobile-mode select,.tcc-mobile-mode textarea{font-size:16px!important;min-height:42px}
.tcc-mobile-mode button{touch-action:manipulation}
.tcc-mobile-mode .context-menu{position:fixed!important;left:10px!important;right:10px!important;top:auto!important;bottom:70px!important;width:auto!important;max-height:62vh;overflow:auto;border-radius:14px!important;padding:7px!important}
.tcc-mobile-mode .context-menu .ctx-item,.tcc-mobile-mode .context-menu div{min-height:44px!important;font-size:13px!important}

@media(min-width:821px){
  .tcc-desktop-mode .tcc55-mobile-home,.tcc-desktop-mode .tcc55-mobile-bottom{display:none!important}
}


/* ================= TCC H56 BOOT ENGINE ================= */
.tcc56-boot-screen{position:fixed;inset:0;z-index:999999;background:radial-gradient(circle at 50% 15%,#12253e 0%,#08111d 38%,#03070d 100%);display:flex;align-items:center;justify-content:center;padding:18px;transition:opacity .25s ease,transform .25s ease}
.tcc56-boot-screen.closing{opacity:0;transform:scale(1.015);pointer-events:none}
.tcc56-boot-card{width:min(760px,94vw);max-height:90vh;overflow:auto;background:rgba(7,14,25,.94);border:1px solid rgba(88,166,255,.28);box-shadow:0 28px 80px rgba(0,0,0,.62),0 0 40px rgba(88,166,255,.08);border-radius:16px;padding:20px}
.tcc56-boot-brand{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.tcc56-boot-mark{width:58px;height:58px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:1000;font-size:20px;color:#fff;background:linear-gradient(145deg,#0d6efd,#123a73);box-shadow:0 0 25px rgba(13,110,253,.28)}
.tcc56-boot-brand h1{margin:0;color:#fff;font-size:20px;letter-spacing:.6px}.tcc56-boot-version{color:#7190b3;font-size:11px;margin-top:5px}
.tcc56-boot-title{font-size:19px;color:#58a6ff;font-weight:950;margin:17px 0 3px}.tcc56-boot-subtitle{font-size:11px;color:#8495a9;margin-bottom:12px}
.tcc56-boot-checks{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.tcc56-boot-row{position:relative;min-height:44px;border-radius:8px;padding:8px 10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center}
.tcc56-boot-row span{font-size:11px;color:#dce8f6;font-weight:800}.tcc56-boot-row b{font-size:10px}.tcc56-boot-row small{grid-column:1/3;color:#708198;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcc56-boot-row.pending b{color:#d29922}.tcc56-boot-row.ok{border-left:3px solid #3fb950}.tcc56-boot-row.ok b{color:#3fb950}.tcc56-boot-row.fail{border-left:3px solid #f85149;background:rgba(248,81,73,.055)}.tcc56-boot-row.fail b{color:#ff7b72}
.tcc56-progress{height:5px;background:rgba(255,255,255,.07);border-radius:4px;overflow:hidden;margin:15px 0 9px}.tcc56-progress i{display:block;width:12%;height:100%;background:linear-gradient(90deg,#2684ff,#66c3ff);box-shadow:0 0 12px rgba(88,166,255,.65);transition:width .45s ease}
.tcc56-boot-summary{font-size:11px;color:#8fa2b8;text-align:center;min-height:18px}.tcc56-boot-summary.ok{color:#56d364}.tcc56-boot-summary.fail{color:#ff7b72;font-weight:800}
.tcc56-boot-actions{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:13px}.tcc56-boot-actions button{min-height:38px;padding:0 14px;border-radius:7px;border:1px solid rgba(88,166,255,.4);background:#12345b;color:#fff;font-size:11px;font-weight:900;cursor:pointer}.tcc56-boot-actions button:first-child{background:#1f6feb;border-color:#58a6ff}.tcc56-boot-actions button:hover{filter:brightness(1.15)}
@media(max-width:620px){.tcc56-boot-card{padding:14px;border-radius:12px}.tcc56-boot-checks{grid-template-columns:1fr}.tcc56-boot-brand h1{font-size:14px}.tcc56-boot-mark{width:48px;height:48px}.tcc56-boot-row small{grid-column:1/3}}


/* ================= TCC H57 COMPACT SITE MANAGEMENT ================= */
#modal-site-yonetimi{padding:18px}
#modal-site-yonetimi .tcc57-site-modal{
  width:min(960px,94vw)!important;max-width:960px!important;height:min(690px,80vh);max-height:80vh!important;
  padding:0!important;overflow:hidden!important;display:flex;flex-direction:column;
  background:#0b1320;border:1px solid rgba(88,166,255,.25);border-radius:14px;
}
.tcc57-site-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(21,37,59,.65),rgba(11,19,32,.95))}
.tcc57-site-head h2{margin:2px 0;color:#fff;font-size:18px}.tcc57-site-head p{margin:0;color:#71849a;font-size:10px}.tcc57-site-kicker{font-size:9px;color:#58a6ff;font-weight:900;letter-spacing:1px}
.tcc57-site-close{position:static!important;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:rgba(255,255,255,.04)}
.tcc57-site-layout{display:grid;grid-template-columns:175px 1fr;min-height:0;flex:1}
.tcc57-site-nav{padding:10px 8px;background:#08101b;border-right:1px solid rgba(255,255,255,.07);overflow:auto}
.tcc57-site-nav button{width:100%;min-height:42px;border:1px solid transparent;border-radius:8px;background:transparent;color:#8798ac;font-size:11px;font-weight:800;text-align:left;padding:0 10px;margin-bottom:5px;cursor:pointer}
.tcc57-site-nav button:hover{background:rgba(88,166,255,.07);color:#e4f1ff}
.tcc57-site-nav button.active{background:rgba(88,166,255,.12);border-color:rgba(88,166,255,.22);color:#75b8ff;box-shadow:inset 3px 0 #58a6ff}
.tcc57-site-body{min-width:0;overflow:auto;padding:15px 17px 22px}
.tcc57-settings-section{display:none}.tcc57-settings-section.active{display:block}
.tcc57-section-title{display:flex;align-items:end;gap:8px;padding-bottom:9px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.06)}.tcc57-section-title b{font-size:14px;color:#fff}.tcc57-section-title span{font-size:9px;color:#72849a}
.tcc57-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tcc57-field{padding:10px;border-radius:9px;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,.025)}.tcc57-field.wide,.tcc57-info-card.wide{grid-column:1/-1}
.tcc57-field>label:not(.tcc57-switch-line){display:block;margin-bottom:6px;color:#9cadc1;font-size:10px;font-weight:800}
.tcc57-field input[type=text],.tcc57-field input[type=password],.tcc57-field input[type=number],.tcc57-field select{width:100%;height:38px;box-sizing:border-box;margin:0!important;padding:0 10px!important;border-radius:7px!important;border:1px solid rgba(255,255,255,.12)!important;background:#080f19!important;color:#fff!important;font-size:12px}
.tcc57-color-wrap{display:flex;align-items:center;gap:10px}.tcc57-color-wrap input{width:58px!important;height:38px!important;margin:0!important}.tcc57-color-wrap span{color:#75869c;font-size:10px}
.tcc57-info-card{padding:10px;border-radius:9px;border:1px solid rgba(88,166,255,.13);background:rgba(88,166,255,.045)}.tcc57-info-card b{display:block;color:#7dc0ff;font-size:10px;margin-bottom:4px}.tcc57-info-card span{font-size:10px;color:#8294a9;line-height:1.45}
.tcc57-switch-line{display:flex;gap:10px;align-items:center;cursor:pointer}.tcc57-switch-line input{width:19px;height:19px}.tcc57-switch-line span b{display:block;color:#fff;font-size:11px}.tcc57-switch-line small{display:block;color:#74869b;font-size:9px;margin-top:2px}
.tcc57-site-footer{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-top:1px solid rgba(255,255,255,.07);background:#08101b}
.tcc57-last-save span{display:block;color:#697d94;font-size:8px;text-transform:uppercase}.tcc57-last-save b{display:block;color:#9eb1c8;font-size:10px;margin-top:2px}
.tcc57-site-actions{display:flex;gap:8px}.tcc57-site-actions button{height:36px;padding:0 14px;border-radius:7px;font-size:10px;font-weight:900;cursor:pointer}.tcc57-cancel{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#a9b8c8}.tcc57-save{width:auto!important;margin:0!important}

/* Mobile: one-column settings, horizontal category strip */
@media(max-width:720px){
  #modal-site-yonetimi{padding:0!important;align-items:flex-end!important}
  #modal-site-yonetimi .tcc57-site-modal{width:100%!important;height:88vh!important;max-height:88vh!important;border-radius:18px 18px 0 0!important}
  .tcc57-site-head{min-height:58px;padding:9px 12px}.tcc57-site-head h2{font-size:15px}.tcc57-site-head p{display:none}
  .tcc57-site-layout{display:flex;flex-direction:column}
  .tcc57-site-nav{display:flex;flex:0 0 auto;gap:5px;overflow-x:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.07);padding:7px}
  .tcc57-site-nav button{width:auto;min-width:max-content;min-height:36px;margin:0;padding:0 11px}
  .tcc57-site-nav button.active{box-shadow:inset 0 -3px #58a6ff}
  .tcc57-site-body{padding:11px;flex:1}
  .tcc57-settings-grid{grid-template-columns:1fr}.tcc57-field.wide,.tcc57-info-card.wide{grid-column:auto}
  .tcc57-field input,.tcc57-field select{font-size:16px!important;min-height:43px!important}
  .tcc57-last-save{display:none}.tcc57-site-footer{justify-content:flex-end;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
}

/* ================= TCC H57 BASIC UI EFFECTS =================
   White + very light blue center-out wave, 1–2 px lift and soft glow.
*/
:root{--tccfx-blue:rgba(145,205,255,.8);--tccfx-white:rgba(255,255,255,.92)}
button,.tab-btn,.hamburger-item,.sidebar-tab,.user-item,.room-item,.tcc51-status-chip,.tcc55-mobile-actions button,.tcc55-mobile-bottom button{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease,filter .18s ease;
}
button::after,.tab-btn::after,.hamburger-item::after,.sidebar-tab::after,.user-item::after,.room-item::after,.tcc51-status-chip::after,.tcc55-mobile-actions button::after,.tcc55-mobile-bottom button::after{
  content:"";
  pointer-events:none;
  position:absolute;
  left:50%;top:50%;
  width:0;height:1px;
  opacity:0;
  transform:translate(-50%,-50%);
  background:linear-gradient(90deg,transparent,var(--tccfx-blue),var(--tccfx-white),var(--tccfx-blue),transparent);
  box-shadow:0 0 9px rgba(155,215,255,.55);
}
@media(hover:hover) and (pointer:fine){
  button:hover,.tab-btn:hover,.hamburger-item:hover,.sidebar-tab:hover,.user-item:hover,.room-item:hover,.tcc51-status-chip:hover,.tcc55-mobile-actions button:hover{
    transform:translateY(-2px);
    border-color:rgba(145,205,255,.48)!important;
    box-shadow:0 4px 16px rgba(78,155,225,.14),0 0 12px rgba(180,225,255,.06);
  }
  button:hover::after,.tab-btn:hover::after,.hamburger-item:hover::after,.sidebar-tab:hover::after,.user-item:hover::after,.room-item:hover::after,.tcc51-status-chip:hover::after,.tcc55-mobile-actions button:hover::after{
    animation:tcc57CenterWave .38s ease-out forwards;
  }
}
@keyframes tcc57CenterWave{
  0%{width:0;opacity:0}
  22%{opacity:.95}
  100%{width:112%;opacity:0}
}
@media(prefers-reduced-motion:reduce){
  button,.tab-btn,.hamburger-item,.sidebar-tab,.user-item,.room-item{transition:none!important}
  button::after,.tab-btn::after,.hamburger-item::after,.sidebar-tab::after,.user-item::after,.room-item::after{display:none!important}
}

/* ===== TCC H59 LIVE / STATUS / CONTEXT ===== */
.tcc51-status-chip{height:34px!important;padding:0 11px!important;border-radius:17px!important;font-size:11px!important;letter-spacing:.15px;white-space:nowrap}
.tcc51-status-chip .dot{width:8px!important;height:8px!important}.tcc59-live.ok{border-color:rgba(63,185,80,.35)!important;background:rgba(63,185,80,.07)!important}.tcc59-live.warn{border-color:rgba(210,153,34,.38)!important;background:rgba(210,153,34,.07)!important}
#ctx-submenu-rooms{min-width:190px!important}.ctx-room-choice{padding:10px 12px;cursor:pointer;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap;transition:.16s}.ctx-room-choice:hover{background:rgba(88,166,255,.16);color:#8ecbff}.ctx-room-empty{padding:11px;color:#8899aa;font-size:11px}
.tcc59-pending-detail{margin:8px 0 10px;padding:10px;border:1px solid rgba(88,166,255,.25);border-radius:8px;background:rgba(88,166,255,.055);font-size:11px}.tcc59-pending-title{font-weight:900;color:#74b9ff;margin-bottom:8px}.tcc59-pending-detail>div:not(.tcc59-pending-title){display:flex;justify-content:space-between;gap:10px;padding:3px 0;color:#8ea0b5}.tcc59-pending-detail b{color:#fff}.tcc59-pending-detail details{margin-top:7px}.tcc59-pending-detail code{display:block;max-height:84px;overflow:auto;word-break:break-all;white-space:pre-wrap;margin-top:6px;padding:7px;background:#070c12;border-radius:5px;color:#a9c7e8}
.tcc59-clear-pending{width:100%;min-height:34px;margin:0 0 6px;border:1px solid rgba(255,255,255,.12);border-radius:6px;background:rgba(255,255,255,.04);color:#aebdce;font-size:10px;font-weight:800;cursor:pointer}.tcc59-clear-pending:hover{border-color:rgba(88,166,255,.35);color:#fff}
@media(max-width:1100px){.tcc51-status-chip{font-size:10px!important;padding:0 8px!important}}

/* H60: CANLI saniye sayacı diğer kutuları oynatmasın */
#tcc59-live-sync{
  width:118px!important;
  min-width:118px!important;
  max-width:118px!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  font-variant-numeric:tabular-nums;
  overflow:hidden;
}

/* ================= H61 SAHA FIX ================= */
.tcc51-brand-row{position:relative}.tcc51-main-title{flex:1;text-align:center}.tcc51-main-title #tcc51-header-title{text-align:inherit}
html[data-header-align="left"] .tcc51-main-title{text-align:left}html[data-header-align="center"] .tcc51-main-title{text-align:center}html[data-header-align="right"] .tcc51-main-title{text-align:right}
#rooms-tab-content{min-height:0;max-height:calc(100vh - 250px);overflow-y:auto!important;overscroll-behavior:contain}
#rooms-list{min-height:0;overflow-y:auto}
.modal{padding:12px;box-sizing:border-box}.modal .modal-content{max-height:calc(100vh - 24px);overflow-y:auto;box-sizing:border-box}
.event-detail-compact{width:min(720px,94vw)!important;padding:18px!important}.event-detail-compact #evt-det-participants{gap:5px!important}.event-detail-compact #evt-det-participants>*{font-size:11px!important;padding:4px 7px!important;border-radius:6px!important}
@keyframes tccTalkBreath{0%,100%{box-shadow:0 0 0 rgba(63,185,80,0);filter:brightness(1)}50%{box-shadow:0 0 18px rgba(63,185,80,.45),inset 0 0 12px rgba(63,185,80,.08);filter:brightness(1.12)}}
.user-item.tcc-talking,.radio-card.tcc-talking{animation:tccTalkBreath 1.35s ease-in-out infinite!important}
.map-start-private,.map-ptt-btn,.map-end-private{border:1px solid rgba(255,255,255,.16);border-radius:7px;color:#fff;font-weight:900;font-size:10px;padding:6px 8px;cursor:pointer}.map-start-private{background:rgba(88,166,255,.16)}.map-ptt-btn{background:#167c45}.map-end-private{background:#a62828}.map-private-controls{display:flex;gap:5px;margin-right:7px}
.alert-target-panel,.open-alerts-section{max-width:900px;margin:12px auto;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(0,0,0,.22)}.alert-target-title,.open-alerts-title{font-weight:900;color:#fff;margin-bottom:10px}.alert-target-modes{display:flex;gap:16px;flex-wrap:wrap;color:#ddd;font-size:13px}.alert-target-list-wrap{margin-top:10px;text-align:left}.alert-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px;margin-top:6px;max-height:170px;overflow-y:auto}.alert-check-grid label{padding:7px;background:rgba(255,255,255,.04);border-radius:6px}.open-alert-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(220,38,38,.12);border:1px solid rgba(255,70,70,.35);border-radius:8px;padding:10px}.open-alert-card b{display:block;color:#ffb4b4}.open-alert-card small{display:block;color:#aaa;margin-top:4px}.open-alert-card button{background:#b91c1c;color:#fff;border:0;border-radius:6px;padding:8px 10px;font-weight:900}.no-open-alert{color:#7f8b9a;font-size:12px}
#map{min-height:420px}.tcc-mobile-mode #map{height:52vh!important;min-height:340px!important;max-height:560px!important}.tcc-mobile-mode #tab-map .radios-container{margin:8px!important;overflow:visible!important;display:block!important}.tcc-mobile-mode #tab-map .sidebar{max-height:34vh;overflow-y:auto}.tcc-mobile-mode #tab-map .main-content{min-height:0!important;height:auto!important}.tcc-mobile-mode .leaflet-container{touch-action:pan-x pan-y!important}
.tcc-mobile-mode .user-item,.tcc-mobile-mode .radio-card,.tcc-mobile-mode .room-item{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}.tcc-mobile-mode .modal-close{font-size:34px!important;line-height:34px!important;min-width:44px!important;min-height:44px!important;display:flex!important;align-items:center;justify-content:center}
.tcc-mobile-mode body{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}.tcc-mobile-mode .tab-content{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}.tcc-mobile-mode #dashboard-rooms-grid{display:none!important}.tcc-mobile-mode #tab-radios .main-content{min-height:300px}
@media(max-width:720px){.alert-target-modes{flex-direction:column;gap:8px}.open-alert-card{align-items:flex-start;flex-direction:column}.open-alert-card button{width:100%}.event-detail-compact{max-height:86vh!important}.tcc57-site-close{font-size:36px!important}}

.tcc-mobile-mode #tab-map #map>div[style*='position:absolute'][style*='top:10px']{right:6px!important;top:6px!important;max-width:150px!important;padding:6px!important}.tcc-mobile-mode #tab-map #map>div[style*='position:absolute'][style*='top:10px'] button{font-size:9px!important;padding:6px!important}
#tcc59-live-sync{width:118px!important;min-width:118px!important;max-width:118px!important;font-variant-numeric:tabular-nums}


/* ================= TCC H62 BAKIM / HISTORY / MAP ================= */
.h62-maint-banner{display:none;position:sticky;top:0;z-index:6000;text-align:center;padding:9px 12px;background:linear-gradient(90deg,#7f1d1d,#b91c1c,#7f1d1d);color:#fff;border-bottom:1px solid rgba(255,255,255,.25);font-size:12px;font-weight:950;letter-spacing:.7px;box-shadow:0 4px 18px rgba(220,38,38,.35)}
.h62-maint-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;margin-bottom:10px;border:1px solid rgba(245,158,11,.45);border-radius:8px;background:rgba(245,158,11,.08)}
.h62-maint-card b{color:#fbbf24;font-size:12px}.h62-maint-card small{display:block;color:#9ca3af;font-size:10px;margin-top:3px}
#h62-maint-btn{padding:8px 11px;border:1px solid #f59e0b;border-radius:6px;background:rgba(245,158,11,.12);color:#fbbf24;font-weight:900;cursor:pointer;white-space:nowrap}
#h62-maint-btn.active{border-color:#ef4444;background:rgba(239,68,68,.18);color:#fecaca}
.h62-new-badge{display:inline-flex;align-items:center;margin-right:6px;padding:2px 6px;border-radius:9px;background:#f26522;color:#fff;font-size:9px;font-weight:950;vertical-align:middle;box-shadow:0 0 8px rgba(242,101,34,.35)}
#tab-map .h62-map-shell{padding:12px;box-sizing:border-box;min-width:0;min-height:0;background:rgba(0,0,0,.18)}
#tab-map .h62-map-frame{min-height:520px;height:calc(100vh - 230px);max-height:760px;border:1px solid rgba(88,166,255,.45);border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 8px 24px rgba(0,0,0,.28)}
@media(max-width:720px){
  .h62-maint-banner{font-size:10px;padding:7px 8px;top:0}
  .h62-maint-card{align-items:flex-start}.h62-maint-card small{max-width:180px}
  #tab-map .h62-map-shell{padding:8px;display:block!important}
  #tab-map .h62-map-frame{height:58vh;min-height:360px;max-height:620px;width:100%;touch-action:pan-x pan-y}
}
\n\n/* ================= TCC H63 ADMIN OVERRIDE / BAKIM TEST ================= */\n@keyframes h63MaintBreath{0%,100%{box-shadow:0 0 0 rgba(245,158,11,0);filter:brightness(1)}50%{box-shadow:0 0 20px rgba(245,158,11,.55),inset 0 0 12px rgba(251,191,36,.12);filter:brightness(1.12)}}\n.h62-maint-banner{background:linear-gradient(90deg,#5b4306,#a16207,#5b4306)!important;color:#fff4bf!important;border-bottom:1px solid rgba(251,191,36,.55)!important;box-shadow:0 4px 18px rgba(245,158,11,.28)!important;animation:h63MaintBreath 1.8s ease-in-out infinite!important}\n.h63-maint-top-btn{height:38px;min-width:126px;padding:0 14px;border:1px solid rgba(245,158,11,.6);border-radius:19px;background:rgba(245,158,11,.10);color:#fbbf24;font-size:11px;font-weight:950;letter-spacing:.2px;cursor:pointer;white-space:nowrap;transition:.18s}\n.h63-maint-top-btn:hover{background:rgba(245,158,11,.18)}\n.h63-maint-top-btn.active{background:rgba(161,98,7,.32);border-color:#fbbf24;color:#fff4bf;animation:h63MaintBreath 1.8s ease-in-out infinite}\n@media(max-width:1100px){.h63-maint-top-btn{height:34px;min-width:104px;padding:0 9px;font-size:9px}}\n.tcc-mobile-mode .h63-maint-top-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:108px;height:34px}\n
/* ================= TCC H64 ANONS / BAKIM UI ================= */
@keyframes h64MaintBreath{0%,100%{box-shadow:0 0 6px rgba(245,158,11,.18);filter:brightness(.98)}50%{box-shadow:0 0 24px rgba(245,158,11,.58),inset 0 0 14px rgba(251,191,36,.14);filter:brightness(1.12)}}
.h62-maint-banner{background:linear-gradient(90deg,#4a3605,#8a5a06,#4a3605)!important;color:#fff2b2!important;border-bottom:1px solid rgba(251,191,36,.65)!important;box-shadow:0 4px 18px rgba(245,158,11,.28)!important;animation:h64MaintBreath 2.2s ease-in-out infinite!important}
.h63-maint-top-btn.active{background:rgba(161,98,7,.34)!important;border-color:#fbbf24!important;color:#fff4bf!important;animation:h64MaintBreath 2.2s ease-in-out infinite!important}

.h64-alert-header{justify-content:center;background:linear-gradient(90deg,#541313,#8f1d1d,#541313);border-bottom:1px solid var(--border-color)}
.h64-alert-header .room-title{color:#fff}
.h64-active-alert{margin:12px 16px;padding:12px 14px;border:1px solid rgba(248,113,113,.55);border-radius:10px;background:rgba(127,29,29,.38);display:flex;align-items:center;justify-content:space-between;gap:16px}
.h64-active-alert b{display:block;color:#fecaca;font-size:12px}.h64-active-alert span{display:block;color:#fff;font-size:18px;font-weight:950;margin-top:2px}.h64-active-alert small{display:block;color:#fca5a5;margin-top:3px}.h64-active-alert button{background:#fff;color:#991b1b;border:0;border-radius:7px;padding:9px 13px;font-weight:900;cursor:pointer}
.h64-alert-shell{height:calc(100vh - 190px);min-height:520px;display:flex;flex-direction:column;background:rgba(0,0,0,.45);overflow:hidden}
.h64-alert-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:14px;padding:14px 16px 8px;overflow:hidden}
.h64-alert-panel{min-height:0;overflow-y:auto;padding:14px;border:1px solid var(--border-color);border-radius:12px;background:rgba(11,15,25,.82)}
.h64-alert-side{display:flex;flex-direction:column}
.h64-panel-title{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#fff;font-weight:950;font-size:13px;margin:2px 0 10px}.h64-panel-title small{font-weight:600;color:var(--text-muted);font-size:10px}
.h64-alert-presets{display:grid!important;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px!important;margin:0 0 6px!important}
.h64-alert-presets button{position:relative;min-height:52px;padding:10px 9px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:8px!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;background:rgba(255,255,255,.06)!important;text-align:center}
.h64-alert-presets button:hover{border-color:var(--accent)!important;background:rgba(52,152,219,.12)!important}
.alert-sound-dot{position:absolute;right:7px;top:7px;width:8px;height:8px;border-radius:50%;background:#475569;box-shadow:none}.alert-sound-dot.has-sound{background:#22c55e;box-shadow:0 0 9px rgba(34,197,94,.85)}
.h64-alert-help{font-size:10px;color:var(--text-muted);margin:0 0 14px}
#custom-alert-msg{width:100%;height:72px;box-sizing:border-box;padding:12px;border-radius:8px;background:var(--panel-bg);color:#fff;border:1px solid var(--accent);font-size:15px;resize:none;margin-bottom:6px}
.h64-preview-line{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--text-muted);margin-bottom:14px}.h64-preview-line b{color:#fff;letter-spacing:1px}.h64-preview-line span{color:#58a6ff;font-weight:900}
.h64-target-panel{max-width:none!important;margin:0!important;padding:10px!important}.h64-target-panel .alert-check-grid{max-height:120px}
.h64-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.h64-time-grid label{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid var(--border-color);border-radius:8px;background:rgba(255,255,255,.035)}.h64-time-grid span{color:#fff;font-size:12px;font-weight:900}.h64-time-grid input,.h64-time-grid select{background:#111827;color:#fff;border:1px solid #3b4558;border-radius:6px;padding:8px}.h64-time-grid small{font-size:10px;color:var(--text-muted)}
.h64-alert-side .open-alerts-section{max-width:none;margin:0 0 14px;padding:10px}.h64-sound-status{padding:12px;border:1px dashed #475569;border-radius:8px;color:#cbd5e1;font-size:11px;line-height:1.45;background:rgba(255,255,255,.025)}
.h64-alert-actionbar{flex:0 0 auto;position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 16px 12px;background:linear-gradient(180deg,rgba(11,15,25,.92),#0b0f19 35%);border-top:1px solid var(--border-color);box-shadow:0 -8px 20px rgba(0,0,0,.28)}.h64-alert-actionbar b{display:block;color:#fff;font-size:12px}.h64-alert-actionbar small{display:block;color:var(--text-muted);font-size:10px;margin-top:2px}.h64-alert-actionbar button{min-width:210px;padding:12px 20px;background:var(--accent);color:#fff;border:0;border-radius:8px;font-weight:950;font-size:14px;cursor:pointer;box-shadow:var(--glow)}
.h64-context-menu{position:fixed;z-index:120000;min-width:190px;padding:6px;background:#0f172a;border:1px solid #334155;border-radius:9px;box-shadow:0 12px 30px rgba(0,0,0,.5)}.h64-context-menu button{display:block;width:100%;padding:9px 10px;text-align:left;background:transparent;color:#fff;border:0;border-radius:6px;cursor:pointer}.h64-context-menu button:hover{background:rgba(255,255,255,.08)}
.h64-alert-detail{display:none;margin-top:8px;padding:9px;border-top:1px dashed rgba(255,255,255,.12);font-size:11px;color:#cbd5e1;line-height:1.55}.h64-alert-detail.open{display:block}.h64-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.h64-timeline-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.06);padding:4px 0}.h64-details-btn{border:1px solid #475569;background:rgba(255,255,255,.04);color:#cbd5e1;border-radius:6px;padding:5px 8px;cursor:pointer;font-size:10px;font-weight:800}
@media(max-width:1100px){.h64-alert-shell{height:calc(100vh - 170px)}.h64-alert-grid{grid-template-columns:minmax(0,1.15fr) minmax(285px,.85fr);gap:10px;padding:10px}.h64-alert-presets{grid-template-columns:repeat(2,minmax(110px,1fr))}.h64-alert-panel{padding:10px}.h64-alert-actionbar button{min-width:170px}}
@media(max-width:760px){.h64-alert-shell{height:auto;min-height:0;overflow:visible}.h64-alert-grid{display:block;overflow:visible}.h64-alert-panel{overflow:visible;margin-bottom:10px}.h64-alert-actionbar{bottom:56px}.h64-alert-actionbar div{display:none}.h64-alert-actionbar button{width:100%;min-width:0}.h64-active-alert{margin:8px;align-items:flex-start}.h64-time-grid{grid-template-columns:1fr}.h64-detail-grid{grid-template-columns:1fr}}

/* ================= H65 BAKIM STATUS CHIP ================= */
.h65-maint-chip{
    appearance:none;
    cursor:pointer;
    font-family:inherit;
    line-height:1;
}

.h65-maint-chip:hover{
    border-color:rgba(245,158,11,.55)!important;
    color:#fbbf24!important;
}

.h65-maint-chip.active{
    color:#fff4bf!important;
    border-color:#f59e0b!important;
    background:rgba(161,98,7,.22)!important;
    animation:h63MaintBreath 2.2s ease-in-out infinite!important;
}


/* H65 FIX: Bakım butonunu gerçek status-chip görünümüne zorla */
button.h65-maint-chip,
#h63-maint-top-btn.h65-maint-chip{
    background:rgba(255,255,255,0.04) !important;
    color:var(--text-muted) !important;
    border:1px solid rgba(255,255,255,0.10) !important;
    border-radius:999px !important;
    box-shadow:none !important;
    outline:none !important;
    padding:6px 10px !important;
    height:auto !important;
    min-width:0 !important;
    font-size:11px !important;
    font-weight:800 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
}

#h63-maint-top-btn.h65-maint-chip:hover{
    background:rgba(245,158,11,0.10) !important;
    color:#fbbf24 !important;
    border-color:rgba(245,158,11,.45) !important;
}

#h63-maint-top-btn.h65-maint-chip.active{
    background:rgba(161,98,7,.24) !important;
    color:#fff4bf !important;
    border-color:#f59e0b !important;
    animation:h63MaintBreath 2.2s ease-in-out infinite !important;
}

/* ===== H65 MOBIL ANONS ACTION BAR FIX ===== */
@media(max-width:760px){
    .h64-alert-actionbar{
        position:sticky !important;
        bottom:0 !important;
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
        justify-content:flex-end !important;
        gap:8px !important;
        padding:8px 10px !important;
        min-height:54px !important;
        box-sizing:border-box !important;
    }

    .h64-alert-actionbar > div{
        display:block !important;
        flex:1 1 auto !important;
        min-width:0 !important;
        overflow:hidden !important;
    }

    .h64-alert-actionbar > div b{
        font-size:10px !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }

    .h64-alert-actionbar > div small{
        display:none !important;
    }

    .h64-alert-actionbar button{
        flex:0 0 auto !important;
        width:auto !important;
        min-width:145px !important;
        max-width:170px !important;
        padding:10px 12px !important;
        font-size:12px !important;
        white-space:nowrap !important;
        margin:0 !important;
    }
}

/* ===== H65 MOBIL ANONS SAYFA AKISI FIX ===== */
@media(max-width:760px){

    #tab-sos{
        overflow-y:auto !important;
        overflow-x:hidden !important;
        height:auto !important;
        min-height:100vh !important;
        padding-bottom:90px !important;
    }

    .h64-alert-shell{
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        display:block !important;
    }

    .h64-alert-grid{
        display:flex !important;
        flex-direction:column !important;
        gap:10px !important;
        padding:10px !important;
        overflow:visible !important;
        height:auto !important;
        min-height:0 !important;
    }

    .h64-alert-panel,
    .h64-alert-side{
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        overflow:visible !important;
        box-sizing:border-box !important;
    }

    .h64-alert-side{
        display:flex !important;
        flex-direction:column !important;
    }

    .alert-target-panel,
    .open-alerts-section{
        width:100% !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }

    .alert-check-grid{
        max-height:none !important;
        overflow:visible !important;
    }

    .h64-alert-actionbar{
        position:fixed !important;
        left:0 !important;
        right:0 !important;
        bottom:0 !important;
        z-index:9999 !important;
        width:100% !important;
        box-sizing:border-box !important;
    }
}

/* H65 MOBILE: alt gönder çubuğunu bir kademe yukarı al */
@media(max-width:760px){

    #tab-sos{
        padding-bottom:160px !important;
    }

    .h64-alert-actionbar{
        bottom:60px !important;
    }
}

/* ===== H65 MOBILE ANONS ALT ALAN KESIN FIX ===== */
@media(max-width:760px){

    html,
    body{
        overflow-y:auto !important;
        -webkit-overflow-scrolling:touch !important;
    }

    #tab-sos{
        height:auto !important;
        max-height:none !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        padding-bottom:240px !important;
        -webkit-overflow-scrolling:touch !important;
    }

    .h64-alert-shell,
    .h64-alert-grid,
    .h64-alert-panel,
    .h64-alert-side{
        height:auto !important;
        max-height:none !important;
        overflow:visible !important;
    }

    /* Süre ve Tekrar telefonda yan yana */
    .h64-time-grid{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:8px !important;
        width:100% !important;
        margin-bottom:12px !important;
    }

    .h64-time-grid label{
        min-width:0 !important;
        padding:8px !important;
    }

    .h64-time-grid input,
    .h64-time-grid select{
        width:100% !important;
        box-sizing:border-box !important;
    }

    /* Atanmış ses dahil en alt içerik yukarı çıkabilsin */
    .h64-alert-side{
        padding-bottom:150px !important;
    }

    .h64-sound-status{
        margin-bottom:40px !important;
    }

    /* Gönder çubuğu telefon alt barının üstünde */
    .h64-alert-actionbar{
        position:fixed !important;
        left:8px !important;
        right:8px !important;
        bottom:70px !important;
        width:auto !important;
        z-index:99999 !important;
        border-radius:10px !important;
    }
}

/* A2_FIX1 */
.h64-target-panel .alert-check-grid{max-height:240px!important;min-height:150px;}
.h64-target-panel .alert-target-list-wrap{min-height:175px;}
.h64-alert-add-btn{width:34px;height:30px;border:1px solid rgba(63,185,80,.55);border-radius:8px;background:rgba(63,185,80,.12);color:#7ee787;font-size:22px;font-weight:900;cursor:pointer;line-height:24px;}
.h64-alert-add-btn:hover{background:rgba(63,185,80,.25);}
.a2-assignment-card{padding:12px;border:1px solid rgba(52,152,219,.4);border-left:4px solid #3498db;border-radius:8px;background:rgba(52,152,219,.08);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.a2-assignment-card small{display:block;color:var(--text-muted);margin-top:3px;}
.a2-assignment-card button{background:transparent;border:1px solid rgba(255,123,114,.5);color:#ff7b72;border-radius:6px;padding:6px 9px;cursor:pointer;font-weight:800;}
\n/* A5 */\n.a5-rec-on{background:#16c784!important;color:#06150d!important;border-color:#38f5a2!important;box-shadow:0 0 14px rgba(22,199,132,.65)!important}.a5-rec-off{background:#8b1e25!important;color:#fff!important;border-color:#ff5d68!important}.tab-btn.active{color:#9cffb0!important;border-color:#ff8a2a!important;box-shadow:inset 0 -3px 0 #ff8a2a,0 0 10px rgba(156,255,176,.15)!important}.tab-btn:hover{color:#a8ffb7!important}.a5-perms{margin:8px 0;padding:8px;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:rgba(255,255,255,.025)}.a5-perms b{color:#ff9f43;font-size:12px}.a5-perms label{margin:5px 0!important}.a5-record-card{border-radius:8px;padding:10px 12px;margin-bottom:7px;display:flex;gap:12px;align-items:center;background:var(--panel-bg)}.a5-record-card.room{border:1px solid rgba(88,166,255,.35);border-left:4px solid #58a6ff}.a5-record-card.private{border:1px solid rgba(255,123,114,.4);border-left:4px solid #ff7b72}.a5-badge-room,.a5-badge-private,.a5-badge-raw{padding:3px 7px;border-radius:10px;font-size:10px;font-weight:900}.a5-badge-room{background:rgba(52,152,219,.18);color:#58a6ff}.a5-badge-private{background:rgba(231,76,60,.18);color:#ff7b72}.a5-badge-raw{background:rgba(240,180,41,.14);color:#f0b429}.a5-record-meta{font-size:11px;color:var(--text-muted);margin-top:4px}.a5-record-actions{display:flex;gap:5px;align-items:center}.a5-record-actions button{min-width:34px;height:30px}\n
/* A6 recording status - top quick status row */
#tcc51-rec.a6-rec-on{background:#00e676!important;color:#041b0b!important;border:2px solid #69ff9a!important;box-shadow:0 0 16px rgba(0,230,118,.9)!important;font-weight:1000!important}#tcc51-rec.a6-rec-off{background:#e52535!important;color:#fff!important;border:2px solid #ff6875!important;box-shadow:0 0 13px rgba(229,37,53,.65)!important;font-weight:1000!important}


/* ================= A7 ================= */
#tcc51-rec.a7-rec-on{background:#00ff66!important;color:#001707!important;border:2px solid #9affbd!important;box-shadow:0 0 20px rgba(0,255,102,.95),inset 0 0 7px rgba(255,255,255,.35)!important;font-weight:1000!important}
#tcc51-rec.a7-rec-off{background:#ff1738!important;color:#fff!important;border:2px solid #ff91a0!important;box-shadow:0 0 19px rgba(255,23,56,.85),inset 0 0 6px rgba(255,255,255,.18)!important;font-weight:1000!important}
.a7-rec-section-title{margin:15px 0 8px;padding:9px 12px;border-radius:7px;font-weight:1000;letter-spacing:.3px;display:flex;justify-content:space-between}.a7-rec-section-title.private{background:rgba(231,76,60,.14);border:1px solid rgba(255,123,114,.45);color:#ff8f87}.a7-rec-section-title.room{background:rgba(52,152,219,.14);border:1px solid rgba(88,166,255,.42);color:#77baff}.a7-empty{padding:14px;color:#77869a;text-align:center;border:1px dashed rgba(255,255,255,.08);border-radius:7px}.a7-play,.a7-stop,.a7-delete{height:32px!important;padding:0 9px!important;border-radius:6px!important;font-size:11px!important;font-weight:900!important;cursor:pointer}.a7-play{background:#176f3a!important;color:#baffcf!important;border:1px solid #39d978!important}.a7-stop{background:#303846!important;color:#fff!important;border:1px solid #657084!important}.a7-delete{background:#d71932!important;color:#fff!important;border:1px solid #ff6375!important;box-shadow:0 0 9px rgba(215,25,50,.35)}

/* A8 - Ses kayıtları tek zaman akışında */
.a8-rec-timeline-title{display:flex;align-items:center;justify-content:space-between;margin:8px 0 10px;padding:8px 10px;border:1px solid rgba(88,166,255,.35);border-radius:8px;background:rgba(88,166,255,.08);color:#dbeafe;font-size:12px;font-weight:900;letter-spacing:.3px}

/* A8 - Ses kayıtları tek zaman akışında */
.a8-rec-timeline-title{display:flex;align-items:center;justify-content:space-between;margin:8px 0 10px;padding:8px 10px;border:1px solid rgba(88,166,255,.35);border-radius:8px;background:rgba(88,166,255,.08);color:#dbeafe;font-size:12px;font-weight:900;letter-spacing:.3px}
/* ==================== A9 ==================== */
.a9-history-controls{display:flex;flex-direction:column;gap:9px;margin-top:10px}.a9-history-controls h4{margin:0;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:6px}.a9-history-controls label{font-size:12px;color:#aaa}.a9-history-controls input{width:100%;box-sizing:border-box;margin-top:4px;padding:8px;background:#090d16;color:#fff;border:1px solid #30363d;border-radius:6px}.a9-history-controls button,.a9-event-actions button,.a9-super-radio button{padding:9px 12px;border:0;border-radius:6px;background:#f26522;color:#fff;font-weight:800;cursor:pointer}#loc-hist-summary{background:rgba(255,255,255,.05);padding:10px;border-radius:6px;font-size:12px;line-height:1.5}.a9-super-radio{display:flex;gap:10px;align-items:end;margin:12px 0;padding:12px;background:rgba(88,166,255,.08);border:1px solid rgba(88,166,255,.25);border-radius:8px}.a9-super-radio label{flex:1}.a9-super-radio select{width:100%;margin-top:5px;padding:9px;background:#0b111b;color:#fff;border:1px solid #30363d;border-radius:6px}.a9-event-actions{display:flex;gap:8px;margin-top:8px}.a9-error-row{padding:10px;border-bottom:1px solid rgba(255,255,255,.08);color:#ddd}.a9-error-row b{color:#ff7b72;margin-right:8px}#a9-system-error{position:fixed;right:20px;bottom:90px;z-index:20000;max-width:420px;padding:13px 16px;background:#3b1218;color:#fff;border:1px solid #ff5d6c;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.5);opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s}#a9-system-error.show{opacity:1;transform:none}#a9-disk-critical{position:fixed;inset:0;z-index:30000;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center}#a9-disk-critical>div{width:min(520px,90vw);padding:28px;text-align:center;background:#3b1218;border:2px solid #ff394f;border-radius:14px;color:#fff;box-shadow:0 0 45px rgba(255,57,79,.35)}#a9-disk-critical button{padding:10px 25px;background:#ff394f;color:#fff;border:0;border-radius:6px;font-weight:bold}#a9-toast-stack{position:fixed;right:20px;bottom:95px;z-index:19000;width:min(380px,calc(100vw - 40px));display:flex;flex-direction:column;gap:8px}.a9-toast{padding:12px 14px;border-radius:8px;color:#fff;background:#143a24;border:1px solid #2dd46f;box-shadow:0 7px 22px rgba(0,0,0,.4)}.a9-toast.err{background:#40151c;border-color:#ff5668}.a9-busy{opacity:.72;cursor:wait!important}@media(max-width:700px){#a9-toast-stack{right:10px;bottom:120px;width:calc(100vw - 20px)}.a9-super-radio{flex-direction:column;align-items:stretch}}


/* ================= TULPARS A16: AGENT + NOT DEFTERI ================= */
.a16-agent-modal{max-width:980px!important}.a16-notes-modal{max-width:760px!important}
.a16-help{padding:14px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.04);line-height:1.5;color:var(--text-muted)}
.a16-agent-list,.a16-notes-list{margin-top:16px;max-height:62vh;overflow:auto;padding-right:4px}
.a16-agent-card,.a16-note{padding:12px;margin:8px 0;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.035)}
.a16-agent-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.a16-agent-online{color:#7ee787}.a16-agent-offline{color:#8b949e}
.a16-agent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:10px}.a16-agent-grid span{padding:7px;background:rgba(0,0,0,.18);border-radius:6px;font-size:12px}.a16-agent-grid button{opacity:.55;cursor:not-allowed}
.a16-note-compose{display:flex;gap:8px;align-items:stretch}.a16-note-compose textarea{flex:1;resize:vertical;min-height:92px;background:rgba(0,0,0,.3);border:1px solid var(--border-color);border-radius:8px;color:#fff;padding:10px;box-sizing:border-box}.a16-note small{opacity:.65}.a16-note-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}.a16-note button{margin-top:8px;background:#a61b2b!important}
@media(max-width:700px){.a16-note-compose{flex-direction:column}.a16-agent-grid{grid-template-columns:1fr}.a16-agent-modal,.a16-notes-modal{width:94%!important;max-height:90vh!important}}

/* A26 live health alarm */
#a22-perf-chip{transition:.2s}#a22-perf-chip.a22-health-warn{background:rgba(210,153,34,.26)!important;border-color:#d29922!important;color:#ffd866!important;box-shadow:0 0 12px rgba(210,153,34,.5)}#a22-perf-chip.a22-health-critical{background:rgba(248,81,73,.32)!important;border-color:#ff625a!important;color:#fff!important;animation:a22HealthFlash .65s infinite alternate;box-shadow:0 0 22px rgba(248,81,73,.85)}@keyframes a22HealthFlash{from{filter:brightness(.9)}to{filter:brightness(1.75)}}

/* ================= A26 GPS TRACKING ================= */
.a24-gps-info{border-color:rgba(72,181,255,.35)!important;background:linear-gradient(135deg,rgba(38,117,177,.12),rgba(0,0,0,.18))!important}
.a24-gps-switch{border:1px solid rgba(72,181,255,.28);border-radius:10px;padding:10px!important;background:rgba(24,88,128,.10)}
.a24-gps-actions{display:flex;gap:8px;flex-wrap:wrap}
.a24-gps-actions button,.a24-gps-device-head button{border:1px solid rgba(93,200,255,.4);background:rgba(31,111,160,.22);color:#dff5ff;border-radius:8px;padding:8px 10px;font-weight:800;cursor:pointer}
.a24-gps-actions button:hover,.a24-gps-device-head button:hover{background:rgba(31,111,160,.38)}
.a24-gps-device-panel{border:1px solid rgba(72,181,255,.28);border-radius:12px;background:rgba(5,18,30,.46);padding:12px;min-width:0}
.a24-gps-device-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.a24-gps-device-head>div{display:flex;flex-direction:column;gap:3px}.a24-gps-device-head span{font-size:11px;color:var(--text-muted)}
.a24-gps-device-list{display:flex;flex-direction:column;gap:7px;max-height:310px;overflow:auto;padding-right:3px}
.a24-gps-row{display:grid;grid-template-columns:minmax(140px,1.3fr) 82px 140px minmax(145px,1fr) 110px;gap:8px;align-items:center;padding:8px;border-radius:9px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);font-size:12px}
.a24-gps-row .name{min-width:0}.a24-gps-row .name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.a24-gps-row .name small{color:var(--text-muted)}
.a24-gps-row .online{font-weight:900}.a24-gps-row .online.on{color:#3fb950}.a24-gps-row .online.off{color:#8b949e}
.a24-gps-row select{width:100%;background:#111922;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:7px;padding:6px}
.a24-gps-row .gpsmeta{font-size:11px;color:#c9d1d9;line-height:1.35}.a24-gps-row button{border:1px solid rgba(255,255,255,.18);border-radius:7px;background:rgba(255,255,255,.07);color:#fff;padding:7px;cursor:pointer;font-weight:800}
.a24-gps-row.a24-focus{outline:2px solid #4cc9ff;box-shadow:0 0 18px rgba(76,201,255,.25)}
.a24-gps-empty{padding:18px;text-align:center;color:var(--text-muted)}
@media(max-width:800px){.a24-gps-row{grid-template-columns:1fr 80px}.a24-gps-row .gpsmeta{grid-column:1/-1}.a24-gps-row button{width:100%}}

/* ================= A26 OFFLINE MESAJ + SAGLIK ================= */
.a26-offline-chip{cursor:pointer}.a26-offline-chip.has-pending{background:rgba(241,196,15,.18)!important;border-color:#f1c40f!important;color:#ffe88a!important;box-shadow:0 0 12px rgba(241,196,15,.25)}
.a26-offline-modal{max-width:820px}.a26-offline-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:10px 0 14px;color:#c9d7e6}.a26-offline-head button,.a26-health-actions button{background:#172334;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:7px;padding:8px 11px;cursor:pointer;margin-left:6px}.a26-offline-list{display:flex;flex-direction:column;gap:9px;max-height:58vh;overflow:auto}.a26-offline-row{position:relative;border:1px solid rgba(255,255,255,.11);border-left:4px solid #3fb950;background:#0c1320;border-radius:8px;padding:10px 76px 10px 12px}.a26-offline-row.pending{border-left-color:#f1c40f;background:rgba(241,196,15,.055)}.a26-offline-row-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px}.a26-offline-row-head span{font-size:11px;font-weight:900;color:#90a4ba}.a26-offline-row.pending .a26-offline-row-head span{color:#f1c40f}.a26-offline-msg{white-space:pre-wrap;color:#fff;margin:4px 0 7px}.a26-offline-row small{display:block;color:#8294a9;font-size:10px}.a26-offline-row small.err{color:#ff7b72}.a26-offline-row>button{position:absolute;right:10px;top:34px;background:#2a1116;color:#ff9aa5;border:1px solid #74303a;border-radius:6px;padding:6px 9px;cursor:pointer}.a26-offline-empty{padding:26px;text-align:center;color:#8193a8}.a26-offline-empty.err{color:#ff7b72}
.a26-health-summary{padding:11px 13px;border-radius:8px;margin:8px 0 14px;background:#102018;border:1px solid #285c3a;color:#a9efbf}.a26-health-summary.warn{background:#2a2412;border-color:#7b6719;color:#ffe27b}.a26-health-summary.critical{background:#2b1116;border-color:#7e2e39;color:#ff9aa5}.a26-health-actions{display:flex;justify-content:center;gap:8px;margin-top:14px}
@media(max-width:700px){.a26-offline-head{align-items:flex-start;flex-direction:column}.a26-offline-row{padding-right:12px;padding-bottom:42px}.a26-offline-row>button{top:auto;bottom:8px}.a26-offline-head button{margin:4px 4px 0 0}}

/* ================= A26 AGENT SOZLESMESI ================= */
.a26-agent-policy{margin-top:12px;padding:12px;border:1px solid rgba(88,166,255,.28);border-radius:10px;background:rgba(13,31,52,.56);font-size:12px;line-height:1.55;color:#c9d7e6}
.a26-agent-policy-title{font-weight:900;color:#dff5ff;margin-bottom:7px}.a26-agent-policy-row{margin:5px 0}.a26-agent-policy-row b{color:#fff}.a26-agent-policy-row span{display:inline-block;padding:2px 6px;margin:2px 3px;border-radius:999px;border:1px solid rgba(255,255,255,.15)}
.a26-policy-ok{color:#8ff0a4;background:rgba(46,160,67,.15)!important;border-color:rgba(63,185,80,.4)!important}.a26-policy-warn{color:#ffe27b;background:rgba(210,153,34,.12)!important;border-color:rgba(210,153,34,.4)!important}.a26-policy-plan{color:#b6d9ff;background:rgba(56,139,253,.10)!important}.a26-policy-no{color:#ff9aa5;background:rgba(248,81,73,.12)!important;border-color:rgba(248,81,73,.38)!important}

/* ================= A27 AGENT V3.2.2 ================= */
.a27-agent-refresh{float:right;border:1px solid rgba(88,166,255,.35);background:rgba(88,166,255,.12);color:#d7ebff;border-radius:7px;padding:5px 9px;cursor:pointer;font-size:11px}
.a27-agent-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.a27-agent-actions.muted{font-size:11px;color:#7f8ea3}
.a27-agent-cmd{opacity:1!important;cursor:pointer!important;border:1px solid rgba(88,166,255,.32)!important;background:rgba(31,82,125,.28)!important;color:#e8f4ff!important;border-radius:7px!important;padding:7px 9px!important;font-size:11px!important;font-weight:800!important}.a27-agent-cmd:hover{background:rgba(46,116,174,.45)!important}.a27-agent-lastack{margin-top:9px;padding:8px;border-radius:7px;background:rgba(0,0,0,.22);font-size:11px;color:#b9c8d8;overflow-wrap:anywhere}

/* A30 native TIME_SYNC */
.a30-time-sync{border-color:rgba(126,231,135,.55)!important;background:rgba(35,105,55,.30)!important}.a30-time-sync:hover{background:rgba(45,135,68,.48)!important}
/* A34: Agent kartlari sabit duzen + pasif komutlar gorunur */
.a27-agent-cmd:disabled{opacity:.32!important;cursor:not-allowed!important;filter:grayscale(.55);pointer-events:none!important}
.a27-agent-offnote{margin-top:6px;font-size:11px;color:#7f8ea3}


/* =====================================================================
   TULPARS A36 P1 — GÖRSEL / UX YENİLEME
   Backend/protokol davranışını değiştirmez; A34 motoru korunur.
   ===================================================================== */

/* Büyük ve erişilebilir kapatma butonu */
.modal-content{position:relative}
.modal-close{float:none!important;position:sticky;top:0;z-index:40;margin-left:auto;display:flex!important;align-items:center;justify-content:center;width:42px;height:42px;line-height:1;border-radius:12px;background:rgba(248,81,73,.10);border:1px solid rgba(248,81,73,.32);color:#ff765f!important;font-size:30px!important;font-weight:900!important;cursor:pointer;user-select:none}
.modal-close:hover{background:rgba(248,81,73,.24);transform:scale(1.05)}

/* Üst durum satırı: yalnız operasyon için gerekli durumlar */
.a36-quick-status{gap:6px!important;overflow:visible!important}
.a36-key-chip,.a36-system-more{height:32px!important;padding:0 10px!important;border-radius:9px!important;font-size:10px!important;font-weight:950!important;letter-spacing:.15px;transition:.18s!important}
.a36-status-ok{background:rgba(34,197,94,.10)!important;border-color:rgba(34,197,94,.38)!important;color:#82f0a2!important}
.a36-status-warn{background:rgba(245,158,11,.12)!important;border-color:rgba(245,158,11,.50)!important;color:#ffd36d!important}
.a36-status-danger{background:rgba(239,68,68,.16)!important;border-color:rgba(248,81,73,.60)!important;color:#ff8d87!important;box-shadow:0 0 12px rgba(248,81,73,.16)!important}
.a36-system-more{background:rgba(88,166,255,.08)!important;border-color:rgba(88,166,255,.25)!important;color:#b8dfff!important;cursor:pointer}
.a36-system-more:hover{background:rgba(88,166,255,.16)!important}
#a36-theme-toggle.a36-theme-toggle{width:38px;height:38px;border:1px solid rgba(88,166,255,.28);border-radius:10px;background:rgba(255,255,255,.045);color:#eaf4ff;font-size:19px;cursor:pointer;flex:0 0 auto}
#a36-theme-toggle:hover{border-color:var(--accent);background:rgba(242,101,34,.10)}
.a36-clock{height:38px!important;min-width:98px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:0!important;padding:0 10px!important;border:1px solid rgba(88,166,255,.20)!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;line-height:1.05!important}
.a36-clock #server-clock-time{font-size:15px;font-weight:1000;letter-spacing:.5px}.a36-clock #server-clock-date{font-size:10px!important;margin-top:3px}
.h63-maint-top-btn.a36-maint-amber{background:linear-gradient(135deg,rgba(245,158,11,.28),rgba(161,98,7,.22))!important;border-color:#fbbf24!important;color:#fff0a8!important;animation:h63MaintBreath 1.7s ease-in-out infinite!important}

/* Yürüyen satır daha okunur, daha az kalabalık */
.h49-status-strip{height:30px!important;background:rgba(4,11,20,.92)!important}
.h49-status-ticker{animation-duration:50s!important;font-size:11px!important;gap:18px!important}

/* Kişi kartları: tablo yerine tüm ekranı kullanan responsive kart düzeni */
.a36-personnel-page{background:var(--bg-color)!important;overflow-y:auto!important;padding:18px clamp(12px,2vw,30px)!important}
.a36-personnel-head{width:100%;max-width:1680px;margin:0 auto 12px;display:flex;align-items:center;gap:16px}.a36-personnel-head h2{margin:0;color:var(--text-main);font-size:22px}.a36-personnel-head small{display:block;color:var(--text-muted);margin-top:4px}.a36-personnel-actions{margin-left:auto;display:flex;gap:8px}.a36-personnel-actions button{height:38px;padding:0 13px;border-radius:8px;font-weight:900;cursor:pointer}.a36-personnel-actions .primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.a36-personnel-actions .secondary{background:rgba(248,81,73,.09);color:#ff8f87;border:1px solid rgba(248,81,73,.35)}
.a36-personnel-toolbar{max-width:1680px;margin:0 auto 12px;display:flex;gap:10px;align-items:center}.a36-search{height:40px;flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--border-color);border-radius:10px;background:var(--panel-bg)}.a36-search input{flex:1;border:0;outline:0;background:transparent;color:var(--text-main);font-size:13px}.a36-search input::placeholder{color:var(--text-muted)}.a36-personnel-count{font-size:11px;font-weight:900;color:var(--text-muted);border:1px solid var(--border-color);border-radius:9px;padding:7px 10px;white-space:nowrap}
.a36-personnel-grid{width:100%;max-width:1680px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;align-content:start;padding-bottom:30px}.a36-person-card{min-width:0;border:1px solid rgba(88,166,255,.16);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));padding:13px;box-shadow:0 8px 22px rgba(0,0,0,.15)}.a36-person-card:hover{border-color:rgba(242,101,34,.45);transform:translateY(-1px)}.a36-person-card.admin{border-color:rgba(242,101,34,.35)}.a36-person-card-head{display:flex;gap:10px;align-items:center}.a36-person-avatar{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:rgba(88,166,255,.12);border:1px solid rgba(88,166,255,.25);color:#bfe2ff;font-weight:1000}.a36-person-card-head b{display:block;color:var(--text-main);font-size:14px}.a36-person-card-head small{display:block;color:var(--text-muted);font-size:10px;margin-top:3px}.a36-person-credentials{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}.a36-person-credentials>div{padding:8px;border-radius:8px;background:rgba(0,0,0,.14);min-width:0}.a36-person-credentials span{display:block;color:var(--text-muted);font-size:9px;text-transform:uppercase;letter-spacing:.4px}.a36-person-credentials b{display:block;margin-top:3px;color:var(--text-main);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.a36-person-credentials .mono{font-family:monospace}.a36-person-card-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.a36-person-card-actions button{height:29px;padding:0 8px;border:1px solid rgba(88,166,255,.22);border-radius:7px;background:rgba(88,166,255,.08);color:var(--text-main);font-size:9px;font-weight:900;cursor:pointer}.a36-person-card-actions .danger{border-color:rgba(248,81,73,.45);color:#ff8e88;background:rgba(248,81,73,.10)}.a36-person-card-actions .danger-ghost{border-color:rgba(255,255,255,.14);color:var(--text-muted)}.a36-empty{grid-column:1/-1;padding:35px;text-align:center;color:var(--text-muted);border:1px dashed var(--border-color);border-radius:12px}

/* Telsiz listesi: yalnız isim + oda. Aktif isim yeşil, pasif gri. */
.a36-radio-row{min-height:46px!important;padding:8px 10px!important;margin-bottom:5px!important;border-left:0!important;background:rgba(255,255,255,.025)!important}.a36-radio-row .a36-radio-main{min-width:0}.a36-radio-name{display:block;font-size:13px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-radio-row.online .a36-radio-name{color:#54e881}.a36-radio-row.offline .a36-radio-name{color:#7d8999}.a36-radio-row small{display:block;margin-top:3px;color:var(--text-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-radio-row.online{border-color:rgba(63,185,80,.18)!important}.a36-radio-row.offline{opacity:.78}.a36-mini-lock{font-size:10px;margin-left:4px}

/* Oda kartları ve oda içi telsizler daha kompakt */
#dashboard-rooms-grid{padding:12px!important;gap:10px!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important}.a36-room-user{background:rgba(255,255,255,.045);padding:6px 8px;border-radius:6px;border-left:3px solid #3fb950;cursor:grab;font-size:11px;font-weight:900;color:var(--text-main);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Harita kişi listesi */
#tab-map .sidebar{width:300px}.a36-map-user-row{min-height:43px!important;padding:7px 8px!important;margin-bottom:4px!important;border-left:0!important;gap:6px}.a36-map-user-main{min-width:0;flex:1}.a36-map-user-main b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-map-user-row.online .a36-map-user-main b{color:#54e881}.a36-map-user-row.offline .a36-map-user-main b{color:#778392}.a36-map-user-main small{display:block;font-size:9px;color:var(--text-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-gps-mini{flex:0 0 auto;height:25px;padding:0 6px;border-radius:7px;font-size:9px;font-weight:900;cursor:pointer}.a36-gps-mini.fresh{background:rgba(63,185,80,.11);border:1px solid rgba(63,185,80,.4);color:#79ec99}.a36-gps-mini.stale{background:rgba(241,196,15,.10);border:1px solid rgba(241,196,15,.38);color:#f4d860}
.a36-map-marker-wrap{background:transparent!important;border:0!important}.a36-map-marker{width:34px;height:34px;border-radius:50% 50% 50% 8px;transform:rotate(-45deg);display:flex;align-items:center;justify-content:center;border:2px solid #bfffd0;background:#159447;box-shadow:0 4px 14px rgba(0,0,0,.45)}.a36-map-marker span{transform:rotate(45deg);font-size:10px;font-weight:1000;color:#fff}.a36-map-marker.offline{background:#596576;border-color:#aab3bf}
.a36-geofence-tools{position:absolute;top:10px;right:10px;z-index:999;display:flex;gap:5px;padding:5px;border:1px solid rgba(242,101,34,.34);border-radius:10px;background:rgba(10,15,24,.88);box-shadow:0 5px 18px rgba(0,0,0,.30);backdrop-filter:blur(10px)}.a36-geofence-tools button{height:30px;padding:0 9px;border-radius:7px;border:1px solid rgba(255,255,255,.12);background:rgba(242,101,34,.12);color:#fff;font-size:9px;font-weight:950;cursor:pointer}.a36-geofence-tools button:last-child{width:31px;padding:0;background:rgba(248,81,73,.10);color:#ff8c84}

/* Görevler: ana sekmeden belirgin ayrılan ikincil gezinme */
.a36-task-section-head{margin:-4px 0 10px;padding:0 3px}.a36-task-section-head b{display:block;color:var(--text-main);font-size:14px;letter-spacing:.5px}.a36-task-section-head span{display:block;color:var(--text-muted);font-size:10px;margin-top:2px}.a36-task-subnav{display:flex;gap:7px;margin-bottom:14px;padding:6px;border:1px solid rgba(88,166,255,.13);border-radius:11px;background:rgba(88,166,255,.035)}.a36-task-nav-btn{flex:1!important;min-height:36px!important;padding:7px 8px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:var(--text-muted)!important;font-size:11px!important;font-weight:900!important;cursor:pointer}.a36-task-nav-btn:hover{background:rgba(255,255,255,.045)!important;color:var(--text-main)!important}.a36-task-nav-btn.active{background:rgba(242,101,34,.17)!important;border-color:rgba(242,101,34,.42)!important;color:#ff9b64!important;box-shadow:inset 0 -2px 0 var(--accent)!important}.a36-task-nav-btn.danger-active{background:rgba(231,76,60,.15)!important;border-color:rgba(231,76,60,.42)!important;color:#ff8d84!important;box-shadow:inset 0 -2px 0 #e74c3c!important}

/* Sağ tık menüleri daha küçük ve ekran sınırları içinde */
.context-menu{min-width:178px!important;max-width:min(240px,calc(100vw - 16px))!important;padding:4px!important;border-radius:9px!important}.context-menu .ctx-item{padding:7px 8px!important;min-height:0!important;font-size:10px!important;line-height:1.25!important}.context-menu [id*="title"]{padding:8px!important;font-size:11px!important}.context-menu #ctx-submenu-rooms{max-height:180px!important}.context-menu .ctx-room-choice{padding:7px 8px!important;font-size:10px!important}

/* Mikrofon merkezde ve yumuşak nefes efekti */
@keyframes a36PttBreath{0%,100%{box-shadow:0 0 12px rgba(220,38,38,.28);filter:brightness(.96)}50%{box-shadow:0 0 28px rgba(220,38,38,.72),0 0 55px rgba(220,38,38,.18);filter:brightness(1.10)}}
#ptt-btn{align-self:center!important;margin:-8px auto 10px!important;width:88px!important;height:88px!important;border-width:4px!important;animation:a36PttBreath 2.2s ease-in-out infinite!important}
#ptt-btn:active{animation:none!important}

/* Mobil: manuel mobil/masaüstü modu yok; responsive motor otomatik. */
.tcc55-view-toggle{display:none!important}.tcc-mobile-mode .a36-personnel-grid{grid-template-columns:1fr!important}.tcc-mobile-mode .a36-personnel-head{align-items:flex-start;flex-direction:column}.tcc-mobile-mode .a36-personnel-actions{margin-left:0;width:100%}.tcc-mobile-mode .a36-personnel-actions button{flex:1}.tcc-mobile-mode #tab-map .sidebar{display:flex!important;width:100%!important;max-height:30vh!important}.tcc-mobile-mode .a36-task-subnav{overflow-x:auto}.tcc-mobile-mode .a36-task-nav-btn{min-width:112px!important}.tcc-mobile-mode .a36-system-more{display:none!important}

/* Açık / koyu / sistem tema */
html[data-tcc-theme="dark"]{color-scheme:dark}
html[data-tcc-theme="light"]{color-scheme:light;--bg-color:#eef2f7;--panel-bg:rgba(255,255,255,.92);--border-color:rgba(42,91,128,.22);--text-main:#172231;--text-muted:#64748b;--glass-blur:blur(18px)}
html[data-tcc-theme="light"] body{background:#eef2f7!important;color:var(--text-main)!important}
html[data-tcc-theme="light"] .tcc51-top{background:linear-gradient(180deg,#ffffff,#eef4fa)!important;border-color:#cbd8e6!important;box-shadow:0 7px 22px rgba(26,55,82,.10)!important}
html[data-tcc-theme="light"] #tcc51-header-title,html[data-tcc-theme="light"] .tcc51-manager-name{color:#162538!important;text-shadow:none!important}
html[data-tcc-theme="light"] .tabs,html[data-tcc-theme="light"] .panel-header{background:#f7f9fc!important}
html[data-tcc-theme="light"] .tab-content,html[data-tcc-theme="light"] .main-content,html[data-tcc-theme="light"] #tab-personnel,html[data-tcc-theme="light"] #tab-tasks{background:#eef2f7!important}
html[data-tcc-theme="light"] .sidebar,html[data-tcc-theme="light"] .modal-content,html[data-tcc-theme="light"] .hamburger-dropdown{background:#f8fafc!important;color:#172231!important}
html[data-tcc-theme="light"] .user-item,html[data-tcc-theme="light"] .a36-person-card,html[data-tcc-theme="light"] .tcc51-health-card{background:rgba(255,255,255,.82)!important;border-color:rgba(42,91,128,.14)!important;box-shadow:0 4px 14px rgba(33,62,90,.06)!important}
html[data-tcc-theme="light"] .a36-person-credentials>div{background:#f0f4f8!important}
html[data-tcc-theme="light"] .a36-search,html[data-tcc-theme="light"] .a36-task-subnav{background:#fff!important}
html[data-tcc-theme="light"] input,html[data-tcc-theme="light"] select,html[data-tcc-theme="light"] textarea{background:#fff!important;color:#172231!important;border-color:#cbd5e1!important}
html[data-tcc-theme="light"] .tcc57-field input,html[data-tcc-theme="light"] .tcc57-field select{background:#fff!important;color:#172231!important}
html[data-tcc-theme="light"] .context-menu{background:#fff!important;border-color:#d1d9e3!important;box-shadow:0 12px 35px rgba(30,55,80,.20)!important}
html[data-tcc-theme="light"] .context-menu .ctx-item,html[data-tcc-theme="light"] .hamburger-item{color:#172231!important;border-color:#e5e9ef!important}
html[data-tcc-theme="light"] .h49-status-strip{background:#e8f0f8!important}.h49-status-ticker{color:#58a6ff}
html[data-tcc-theme="light"] .a36-clock{background:#fff!important;color:#152236!important}
html[data-tcc-theme="light"] .a36-clock #server-clock-date{color:#627286!important}
html[data-tcc-theme="light"] #dashboard-rooms-grid>div{background:#fff!important}
html[data-tcc-theme="light"] #dashboard-rooms-grid>div>div:first-child{background:#f4f7fa!important}

@media(max-width:1150px){.a36-key-chip{padding:0 7px!important;font-size:9px!important}.a36-system-more{padding:0 7px!important}.tcc51-manager-box{display:none!important}}
@media(max-width:860px){.a36-quick-status .a36-key-chip:nth-of-type(n+5){display:none!important}.a36-personnel-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.a36-task-subnav{gap:4px}.a36-task-nav-btn{font-size:10px!important}}


/* A36 P1 final: üst 3 görsel kutusu */
.a36-header-assets{gap:6px!important}.a36-header-box{width:82px;height:46px;border:1px solid rgba(88,166,255,.28);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:rgba(255,255,255,.035);color:#8190a4;font-size:10px;font-weight:950}.a36-header-box img{width:100%;height:100%;object-fit:contain;display:block}.a36-header-box span{padding:4px;text-align:center;overflow:hidden;text-overflow:ellipsis}.a36-header-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.a36-header-upload-card{border:1px solid rgba(88,166,255,.16);border-radius:10px;padding:9px;background:rgba(255,255,255,.025)}.a36-header-upload-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.a36-header-upload-title b{font-size:11px;color:var(--text-main)}.a36-header-upload-title button{border:1px solid rgba(248,81,73,.3);background:rgba(248,81,73,.08);color:#ff8c86;border-radius:6px;padding:4px 7px;font-size:8px;font-weight:900;cursor:pointer}.a36-header-preview{height:80px;border:1px dashed rgba(255,255,255,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:rgba(0,0,0,.16);color:var(--text-muted);font-size:10px}.a36-header-preview img{width:100%;height:100%;object-fit:contain;display:block}.a36-file-pick{margin-top:7px;height:28px;border:1px solid rgba(88,166,255,.28);border-radius:7px;display:flex;align-items:center;justify-content:center;color:#8fc7ff;background:rgba(88,166,255,.07);font-size:9px;font-weight:950;cursor:pointer}.a36-file-pick input{display:none}.a36-header-upload-card>small{display:block;color:var(--text-muted);font-size:8px;line-height:1.35;margin-top:6px}

/* Aktif etkinlik kapatma her zaman kolay erişilir */
#active-event-row{position:relative!important;padding-right:46px!important}.a36-active-event-close{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(248,81,73,.42);border-radius:9px;background:rgba(248,81,73,.11);color:#ff786f;cursor:pointer;font-size:21px;font-weight:1000;display:flex;align-items:center;justify-content:center;z-index:4}.a36-active-event-close:hover{background:rgba(248,81,73,.22)}

/* Oda seçimi ve oda popup'ı daha kibar */
#rooms-list .user-item{min-height:40px!important;padding:8px 10px!important;margin-bottom:5px!important;border-left-width:2px!important;border-radius:8px!important;font-size:11px!important}.a36-room-popup-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:6px}.a36-room-popup-radio{min-height:34px;padding:7px 9px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.025);display:flex;align-items:center;cursor:context-menu;overflow:hidden}.a36-room-popup-radio span{font-size:10px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-room-popup-radio.online span{color:#54e881}.a36-room-popup-radio.offline span{color:#788595}.a36-empty-room{padding:16px;text-align:center;color:var(--text-muted);font-size:10px}

html[data-tcc-theme="light"] .a36-header-box,html[data-tcc-theme="light"] .a36-header-upload-card{background:#fff!important;border-color:#d6e0ea!important}.tcc-mobile-mode .a36-header-assets{display:none!important}
@media(max-width:1180px){.a36-header-box{width:65px;height:42px}}@media(max-width:920px){.a36-header-assets{display:none!important}}@media(max-width:760px){.a36-header-upload-grid{grid-template-columns:1fr}}

/* ================= A36 FAZ 2 - TELSIZ YONETIMI ================= */
.a36-agent-modal{width:min(1180px,95vw)!important;max-width:1180px!important;max-height:92vh!important;padding:18px!important;overflow:hidden!important;position:relative}
.a36-agent-close{width:38px!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;font-size:29px!important;line-height:1!important;right:10px!important;top:9px!important;background:rgba(255,255,255,.08)!important;z-index:5}
.a36-agent-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-right:44px;margin-bottom:10px}.a36-agent-titlebar h2{margin:0!important}.a36-agent-subtitle{font-size:11px;color:var(--text-muted);margin-top:3px}
.a36-agent-help{position:relative;margin-top:2px;z-index:4}.a36-agent-help>summary{list-style:none;cursor:pointer;border:1px solid var(--border-color);border-radius:8px;padding:6px 9px;font-size:10px;font-weight:800;color:var(--text-muted);background:rgba(255,255,255,.035);white-space:nowrap}.a36-agent-help>summary::-webkit-details-marker{display:none}.a36-agent-helpbox{position:absolute;right:0;top:34px;width:min(620px,82vw);max-height:58vh;overflow:auto;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:12px;box-shadow:0 15px 45px rgba(0,0,0,.42);font-size:11px;line-height:1.5}.a36-agent-helpbox .a26-agent-policy{margin-top:9px!important;background:rgba(0,0,0,.12)!important}
.a36-agent-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px;border:1px solid var(--border-color);border-radius:11px;background:rgba(255,255,255,.025);margin-bottom:9px}.a36-agent-toolbar button{border:1px solid rgba(88,166,255,.32);background:rgba(31,82,125,.22);color:var(--text-main);border-radius:8px;padding:7px 10px;font-size:10px;font-weight:850;cursor:pointer}.a36-agent-toolbar button:hover{background:rgba(46,116,174,.4)}.a36-agent-summary{margin-left:auto;font-size:11px;font-weight:800;color:var(--text-muted);padding:5px 7px}
.a36-agent-list{margin-top:0!important;max-height:67vh!important;overflow:auto!important;padding:0 3px 10px 0!important;display:flex;flex-direction:column;gap:7px}
.a36-agent-card{border:1px solid var(--border-color);border-radius:11px;background:rgba(255,255,255,.025);overflow:hidden;transition:border-color .16s ease,background .16s ease}.a36-agent-card.open{border-color:rgba(88,166,255,.38);background:rgba(88,166,255,.035)}
.a36-agent-card-head{width:100%;border:0;background:transparent;color:var(--text-main);display:grid;grid-template-columns:minmax(155px,1.2fr) minmax(115px,.9fr) 115px 85px 22px;gap:9px;align-items:center;padding:10px 12px;text-align:left;cursor:pointer}.a36-agent-card-head:hover{background:rgba(255,255,255,.035)}
.a36-radio-name{font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-radio-name.online{color:#3ddc84}.a36-radio-name.offline{color:#87909c}.a36-room-chip{font-size:10px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a36-agent-state,.a36-version-chip{font-size:9px;font-weight:900;text-align:center;border-radius:999px;padding:4px 7px;white-space:nowrap;border:1px solid var(--border-color)}.a36-agent-state.active{color:#52e095;background:rgba(35,164,97,.11);border-color:rgba(82,224,149,.26)}.a36-agent-state.idle{color:#8c96a4;background:rgba(130,140,150,.07)}.a36-version-chip{color:#bcdcff;background:rgba(88,166,255,.08);border-color:rgba(88,166,255,.22)}.a36-chevron{text-align:center;color:var(--text-muted);font-size:14px}
.a36-agent-body{border-top:1px solid var(--border-color);padding:9px 11px 12px}.a36-agent-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}.a36-agent-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);padding:6px 8px;font-size:9px;font-weight:900;cursor:pointer}.a36-agent-tab.active{color:var(--accent);border-bottom-color:var(--accent);background:rgba(242,101,34,.06);border-radius:6px 6px 0 0}.a36-agent-pane{min-height:68px}
.a36-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.a36-detail-grid span{display:flex;flex-direction:column;gap:3px;padding:8px 9px;border-radius:8px;background:rgba(0,0,0,.12);font-size:9px;color:var(--text-muted)}.a36-detail-grid b{font-size:11px;color:var(--text-main);overflow-wrap:anywhere}
.a36-command-title{font-size:9px;font-weight:900;color:var(--text-muted);text-transform:uppercase;letter-spacing:.7px;margin:5px 0 2px}.a36-command-group .a27-agent-actions{margin-top:4px}.a36-tech-line{margin-top:8px;padding:7px 8px;border-radius:7px;background:rgba(0,0,0,.12);font-size:10px;color:var(--text-muted)}
.a36-tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.a36-tech-grid>div{display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:8px;background:rgba(0,0,0,.12);min-width:0}.a36-tech-grid>div.wide{grid-column:1/-1}.a36-tech-grid b{font-size:9px;color:var(--text-muted)}.a36-tech-grid span{font-size:10px;overflow-wrap:anywhere;color:var(--text-main)}
.a36-update-panel{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:9px 14px;align-items:end}.a36-update-panel label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:850;color:var(--text-muted)}.a36-update-panel select{border:1px solid var(--border-color);border-radius:8px;background:var(--panel-bg);color:var(--text-main);padding:8px;font-size:11px}.a36-update-panel .a36-switch-line{display:flex;flex-direction:row;align-items:center;gap:7px;padding-bottom:8px}.a36-update-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}.a36-update-actions button{border:1px solid rgba(88,166,255,.32);background:rgba(31,82,125,.24);color:var(--text-main);border-radius:8px;padding:7px 10px;font-size:10px;font-weight:850;cursor:pointer}.a36-update-actions button:disabled{opacity:.3;cursor:not-allowed}.a36-update-panel>small{grid-column:1/-1;color:var(--text-muted);font-size:9px;line-height:1.45}
.a36-agent-repository{border:1px solid rgba(88,166,255,.28);border-radius:10px;background:rgba(8,22,37,.58);padding:9px;margin-bottom:9px;max-height:190px;overflow:auto}.a36-repo-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:11px}.a36-repo-head span{color:var(--text-muted);font-size:9px}.a36-repo-row{display:grid;grid-template-columns:minmax(140px,1fr) 82px 60px 105px minmax(180px,2fr);gap:7px;align-items:center;padding:6px 7px;border-top:1px solid rgba(255,255,255,.06);font-size:9px}.a36-repo-row>div{display:flex;flex-direction:column}.a36-repo-row small{color:var(--text-muted);overflow-wrap:anywhere}.a36-repo-row .ok,.a36-repo-row .safe{color:#52e095}.a36-repo-row .bad{color:#ff6b6b}.a36-repo-row .archive{color:#d7a94f}.a36-empty{padding:14px;text-align:center;color:var(--text-muted);font-size:11px}
@media(max-width:760px){.a36-agent-modal{width:96vw!important;padding:12px!important}.a36-agent-titlebar{padding-right:38px}.a36-agent-titlebar h2{font-size:17px!important}.a36-agent-helpbox{position:fixed;left:5vw;right:5vw;top:18vh;width:auto;max-height:64vh}.a36-agent-toolbar{gap:5px}.a36-agent-toolbar button{padding:7px 8px;font-size:9px}.a36-agent-summary{width:100%;margin-left:0}.a36-agent-card-head{grid-template-columns:minmax(130px,1fr) 92px 22px;padding:9px}.a36-agent-state,.a36-version-chip{display:none}.a36-room-chip{font-size:9px}.a36-detail-grid{grid-template-columns:1fr 1fr}.a36-tech-grid{grid-template-columns:1fr}.a36-tech-grid>div.wide{grid-column:auto}.a36-update-panel{grid-template-columns:1fr}.a36-update-actions,.a36-update-panel>small{grid-column:auto}.a36-repo-row{grid-template-columns:1fr auto}.a36-repo-row>small{grid-column:1/-1}}

/* ================= TULPARS A37 FAZ 3 - OPERASYON ================= */
.a37-alert-head{position:relative;flex-direction:column;gap:2px!important;padding:10px 16px!important}.a37-alert-head .room-title{font-size:18px!important}.a37-alert-head-sub{font-size:10px;color:#f5b9b9;letter-spacing:.2px}.a37-alert-shell{height:calc(100vh - 150px);min-height:540px}.a37-alert-layout{display:grid;grid-template-columns:minmax(310px,.95fr) minmax(330px,.92fr) minmax(300px,.78fr);gap:10px;padding:10px;min-height:0;flex:1;overflow:hidden}.a37-alert-layout>.h64-alert-panel{min-height:0;height:auto;padding:12px;overflow:auto}.a37-alert-presets{grid-template-columns:repeat(2,minmax(115px,1fr))!important;gap:7px!important}.a37-alert-presets button{min-height:43px!important;padding:7px 8px!important;font-size:12px!important}.a37-panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.a37-mini-hint{color:var(--text-muted);font-size:9px;margin:-3px 0 9px}.a37-section-title{margin-top:13px!important}.a37-setting-label{display:block;font-size:10px;color:var(--text-muted);font-weight:900;margin-bottom:6px;text-transform:uppercase}.a37-target-panel{padding:9px!important}.a37-target-modes{display:flex;flex-direction:column;gap:7px}.a37-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.a37-time-grid label{display:flex;flex-direction:column;gap:5px;padding:9px;border:1px solid var(--border-color);border-radius:8px;background:rgba(255,255,255,.025);font-size:10px;font-weight:800}.a37-time-grid input{width:100%;box-sizing:border-box;background:#111827;color:#fff;border:1px solid #334155;border-radius:6px;padding:8px}.a37-time-grid small{font-size:8px;color:var(--text-muted);font-weight:500}.a37-alert-summary-card{margin-top:10px;padding:10px;border-radius:8px;border:1px solid rgba(88,166,255,.22);background:rgba(88,166,255,.055)}.a37-alert-summary-card b{display:block;font-size:12px}.a37-alert-summary-card small{display:block;color:var(--text-muted);font-size:9px;margin-top:3px}.a37-alert-start{width:100%;margin-top:9px;padding:12px;background:var(--accent);color:#fff;border:0;border-radius:8px;font-size:13px;font-weight:950;cursor:pointer;box-shadow:var(--glow)}.a37-history-link{padding:5px 8px;border:1px solid rgba(88,166,255,.35);border-radius:6px;background:rgba(88,166,255,.08);color:#8bd5ff;font-size:9px;font-weight:900;cursor:pointer}.a37-alert-preview-list{display:flex;flex-direction:column;gap:6px}.a37-alert-preview-list button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:8px 9px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.025);color:#fff;text-align:left;cursor:pointer}.a37-alert-preview-list button:hover{border-color:rgba(242,101,34,.45)}.a37-alert-preview-list small{color:var(--text-muted);font-size:9px}.a37-empty-mini{padding:12px;text-align:center;color:var(--text-muted);font-size:11px;border:1px dashed rgba(255,255,255,.09);border-radius:8px}.a37-alert-open-col .open-alerts-section{padding:7px!important;margin-bottom:10px!important}.a37-alert-open-col .open-alert-card{padding:9px!important}

.a37-history-intro{margin:8px 14px 0;padding:8px 10px;border:1px solid rgba(88,166,255,.14);background:rgba(88,166,255,.035);border-radius:8px;color:var(--text-muted);font-size:10px}.a37-friendly-history{font-family:inherit!important}.a37-history-row{display:flex;align-items:center;gap:5px;padding:8px 10px!important;margin-bottom:5px;border:1px solid rgba(255,255,255,.065)!important;border-radius:7px;background:rgba(255,255,255,.025);font-size:12px!important;line-height:1.35}.a37-hist-time{color:#718096;font-variant-numeric:tabular-nums;font-size:10px;min-width:52px}.a37-hist-ok{color:#40d97c}.a37-hist-off{color:#8792a2}.a37-alert-history-card{margin-bottom:7px;border:1px solid rgba(255,255,255,.09);border-left:3px solid var(--accent);border-radius:8px;background:rgba(255,255,255,.028);cursor:pointer;overflow:hidden}.a37-alert-history-card:hover{background:rgba(255,255,255,.045)}.a37-alert-history-main{display:flex;align-items:center;gap:10px;padding:10px}.a37-alert-history-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:rgba(220,38,38,.12);flex:0 0 auto}.a37-alert-history-text{min-width:0;flex:1}.a37-alert-history-text b{font-size:12px}.a37-alert-history-text small{display:block;color:var(--text-muted);font-size:9px;margin-top:3px}.a37-expand-mark{font-size:18px;color:#94a3b8}.a37-alert-history-card .h64-alert-detail{margin:0;padding:10px 12px;background:rgba(0,0,0,.16)}.a37-detail-title{margin-top:8px;font-weight:900;font-size:10px;color:#fff}

.a37-spinner{display:inline-block;width:11px;height:11px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:a37spin .75s linear infinite;vertical-align:-2px}@keyframes a37spin{to{transform:rotate(360deg)}}.a37-loading{cursor:wait!important;opacity:.85}.a37-gps-popup{display:flex;flex-direction:column;gap:4px;min-width:150px}.a37-gps-popup small,.a37-gps-popup span{font-size:10px;color:#64748b}.a37-gps-popup a{display:block;margin-top:3px;padding:6px 8px;border-radius:5px;background:#f26522;color:#fff!important;text-align:center;text-decoration:none;font-weight:900;font-size:10px}.a37-gps-row-actions{display:flex;gap:8px}.a37-gps-row-actions a{color:var(--accent);text-decoration:none;font-size:10px}

.a37-notes-modal{max-width:980px!important;max-height:90vh!important}.a37-notes-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.a37-notes-head h2{margin:0}.a37-notes-head small{color:var(--text-muted);font-size:10px}.a37-note-tabs{display:flex;gap:5px;padding:4px;border-radius:9px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}.a37-note-tabs button{padding:7px 12px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font-weight:900;font-size:10px;cursor:pointer}.a37-note-tabs button.active{background:rgba(242,101,34,.17);color:#ff9b64}.a37-note-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 160px auto auto;gap:7px;align-items:center;margin:13px 0 8px}.a37-note-toolbar input[type=search],.a37-note-toolbar select,.a37-note-compose-row select{background:#0b111b;color:var(--text-main);border:1px solid var(--border-color);border-radius:7px;padding:8px}.a37-note-toolbar label{font-size:10px;color:var(--text-muted);font-weight:800;white-space:nowrap}.a37-note-compose{display:flex;flex-direction:column!important;gap:7px!important;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025)}.a37-note-compose-row{display:grid;grid-template-columns:minmax(190px,1fr) 150px auto auto;gap:7px;align-items:center}.a37-check{font-size:10px;color:var(--text-muted);white-space:nowrap}.a37-note-compose textarea{min-height:74px!important}.a37-note-compose-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px}.a37-note-compose-actions span{margin-right:auto;color:#ffb454;font-size:10px;font-weight:900}.a37-note-compose-actions button{padding:8px 13px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-weight:900;font-size:10px;cursor:pointer}.a37-note-compose-actions #a37-note-cancel-edit{background:#334155}.a37-notes-list{max-height:52vh!important}.a37-note-card{padding:10px;margin:7px 0;border:1px solid rgba(255,255,255,.085);border-radius:9px;background:rgba(255,255,255,.025)}.a37-note-card.pinned{border-left:3px solid #eab308}.a37-note-card.done{opacity:.58}.a37-note-card.done .a37-note-text{text-decoration:line-through}.a37-note-top{display:flex;justify-content:space-between;gap:10px}.a37-note-top small{color:var(--text-muted);font-size:9px;white-space:nowrap}.a37-note-badges{display:flex;gap:5px;flex-wrap:wrap}.a37-note-badges span{padding:3px 6px;border-radius:5px;background:rgba(255,255,255,.06);font-size:8px;font-weight:900;color:#cbd5e1}.a37-note-badges .important{color:#ffd56a;background:rgba(234,179,8,.08)}.a37-note-badges .radio{color:#8bd5ff;background:rgba(88,166,255,.08)}.a37-note-text{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.a37-note-actions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.a37-note-actions button{padding:5px 8px;border:1px solid rgba(255,255,255,.1);border-radius:5px;background:rgba(255,255,255,.04);color:#cbd5e1;font-size:8px;font-weight:900;cursor:pointer}.a37-note-actions button.danger{color:#ff8d84;border-color:rgba(255,86,104,.25)}

.a37-task-panel{padding:14px;border:1px solid var(--border-color);border-radius:12px;background:var(--panel-bg)}.a37-calendar-head,.a37-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.a37-calendar-head h3,.a37-timeline-head h3{margin:0;font-size:14px}.a37-calendar-head small,.a37-timeline-head small{font-size:9px;color:var(--text-muted)}#a37-calendar-month{font-size:12px;font-weight:900;color:#ff9b64;text-transform:uppercase}.a37-calendar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:7px}.a37-calendar-item{display:flex;flex-direction:column;gap:3px;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.025)}.a37-calendar-item span{font-size:8px;font-weight:900;color:#8bd5ff}.a37-calendar-item b{font-size:11px}.a37-calendar-item small,.a37-calendar-item em{font-size:9px;color:var(--text-muted);font-style:normal}.a37-timeline-head select{min-width:220px;background:#0b111b;color:#fff;border:1px solid var(--border-color);border-radius:7px;padding:8px}.a37-timeline-compose{display:grid;grid-template-columns:1fr auto;gap:7px}.a37-timeline-compose input{background:#0b111b;color:#fff;border:1px solid var(--border-color);border-radius:7px;padding:9px}.a37-timeline-compose button{padding:9px 13px;border:0;border-radius:7px;background:var(--accent);color:#fff;font-weight:900;cursor:pointer}.a37-timeline-quick{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.a37-timeline-quick button{padding:6px 8px;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:rgba(255,255,255,.035);color:#cbd5e1;font-size:8px;font-weight:900;cursor:pointer}.a37-task-timeline-list{display:flex;flex-direction:column;gap:5px;margin-top:8px;max-height:45vh;overflow:auto}.a37-task-event{display:grid;grid-template-columns:150px 1fr;gap:10px;padding:8px;border-left:3px solid var(--accent);border-radius:6px;background:rgba(255,255,255,.025)}.a37-task-event time{font-size:9px;color:#94a3b8}.a37-task-event b{display:block;font-size:11px}.a37-task-event small{display:block;font-size:8px;color:var(--text-muted);margin-top:2px}

@media(max-width:1050px){.a37-alert-layout{grid-template-columns:1fr 1fr}.a37-alert-open-col{grid-column:1/-1;max-height:300px}.a37-note-toolbar{grid-template-columns:1fr 150px}.a37-note-compose-row{grid-template-columns:1fr 150px}.a37-time-grid{grid-template-columns:1fr 1fr}.a37-task-event{grid-template-columns:120px 1fr}}
@media(max-width:720px){.a37-alert-shell{height:auto}.a37-alert-layout{display:block;overflow:visible}.a37-alert-layout>.h64-alert-panel{margin-bottom:8px;overflow:visible}.a37-time-grid{grid-template-columns:1fr}.a37-note-toolbar,.a37-note-compose-row{grid-template-columns:1fr}.a37-notes-head,.a37-timeline-head,.a37-calendar-head{flex-direction:column;align-items:stretch}.a37-note-tabs{align-self:flex-start}.a37-timeline-compose{grid-template-columns:1fr}.a37-timeline-head select{min-width:0;width:100%}.a37-task-event{grid-template-columns:1fr}.a37-calendar-grid{grid-template-columns:1fr}}
.a37-calendar-nav{display:flex;align-items:center;gap:7px}.a37-calendar-nav button{width:28px;height:28px;border:1px solid rgba(255,255,255,.1);border-radius:6px;background:rgba(255,255,255,.035);color:#fff;font-size:18px;cursor:pointer}.a37-calendar-nav span{min-width:125px;text-align:center;font-size:11px;font-weight:900;color:#ff9b64;text-transform:uppercase}.a37-calendar-grid{grid-template-columns:repeat(7,minmax(90px,1fr))!important;gap:5px!important}.a37-cal-week{text-align:center;padding:6px;color:#94a3b8;font-size:9px;font-weight:900}.a37-cal-day{min-height:92px;padding:6px;border:1px solid rgba(255,255,255,.07);border-radius:7px;background:rgba(255,255,255,.018)}.a37-cal-day.empty{opacity:.25;background:transparent}.a37-cal-day.today{border-color:rgba(242,101,34,.65);box-shadow:inset 0 0 0 1px rgba(242,101,34,.18)}.a37-cal-num{font-size:10px;font-weight:900;color:#cbd5e1;margin-bottom:5px}.a37-cal-items{display:flex;flex-direction:column;gap:3px}.a37-cal-items span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 4px;border-radius:4px;font-size:7px;font-weight:800;background:rgba(88,166,255,.09);color:#a7d8ff}.a37-cal-items span.task{background:rgba(231,76,60,.11);color:#ff9b93}.a37-cal-items span.active{background:rgba(63,185,80,.12);color:#8cf0a5}.a37-cal-items span.plan{background:rgba(234,179,8,.10);color:#f9d66c}.a37-cal-items small{font-size:7px;color:#94a3b8}
@media(max-width:850px){.a37-calendar-grid{min-width:720px!important}.a37-task-panel:has(.a37-calendar-grid){overflow-x:auto}}


/* ================= TULPARS A39 - PTT / ODA / GECMIS DÜZELTMELERI ================= */
.a39-room-card{background:rgba(255,255,255,.02);border:1px solid;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;transition:.2s;align-self:start}
.a39-room-card-head{padding:10px 14px;background:rgba(0,0,0,.4);border-bottom:1px solid rgba(255,255,255,.05);display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:42px;box-sizing:border-box}
.a39-room-name{font-weight:1000;color:var(--accent);font-size:13px;text-transform:uppercase;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.a39-room-count{font-size:10px;background:var(--accent);color:#fff;padding:2px 7px;border-radius:10px;font-weight:1000;white-space:nowrap;margin-left:8px}
.a39-room-count.zero{background:rgba(148,163,184,.13);color:#8795a8;border:1px solid rgba(148,163,184,.16)}
.a39-room-card-body{padding:8px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;max-height:250px;min-height:42px}
.a39-room-card.empty .a39-room-card-head{padding-top:8px;padding-bottom:8px;min-height:38px}
.a39-room-card.empty .a39-room-card-body{min-height:0;height:27px;max-height:27px;padding:5px 9px;overflow:hidden;justify-content:center}
.a39-room-empty-note{text-align:left;color:var(--text-muted);font-size:10px;line-height:17px}
.a39-room-card.occupied .a39-room-card-body{min-height:58px}
html[data-tcc-theme="light"] .a39-room-card{background:#fff}
html[data-tcc-theme="light"] .a39-room-card-head{background:#f4f7fa}
@media(max-width:900px){.a39-room-card-head{padding:9px 11px}.a39-room-card-body{padding:7px}.a39-room-card.empty .a39-room-card-body{height:25px;max-height:25px}}

/* ================= TULPARS A41 PART 1 - ORTAK OPERASYON UI ================= */
.a41-operation-tab{color:#e8c9ff!important;border-color:rgba(168,85,247,.45)!important;background:linear-gradient(180deg,rgba(168,85,247,.20),rgba(126,34,206,.08))!important}.a41-operation-tab.active{background:linear-gradient(135deg,#7c3aed,#a855f7)!important;color:#fff!important;box-shadow:0 0 22px rgba(168,85,247,.35)!important}.a41-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef476f;box-shadow:0 0 8px #ef476f;margin-left:5px}
/* Sol telsiz listesi A41: daha kompakt */
#users-list .a36-radio-row{min-height:36px!important;padding:6px 9px!important;margin-bottom:4px!important;border-radius:7px!important}.a36-radio-main{min-width:0!important}.a36-radio-name{font-size:11px!important;line-height:13px!important}.a36-radio-main small{font-size:8px!important;line-height:10px!important;margin-top:1px!important}.a41-op-page{padding:14px 16px 28px!important;background:radial-gradient(circle at 70% 0,rgba(126,34,206,.11),transparent 38%),#090e17!important;overflow:auto!important}.a41-op-hero{display:grid;grid-template-columns:minmax(260px,1.25fr) auto minmax(420px,1fr);gap:15px;align-items:center;padding:18px;border:1px solid rgba(168,85,247,.30);border-radius:14px;background:linear-gradient(135deg,rgba(168,85,247,.10),rgba(255,255,255,.025));box-shadow:0 12px 35px rgba(0,0,0,.25)}.a41-op-title small{font-size:9px;letter-spacing:1.2px;color:#c084fc;font-weight:1000}.a41-op-title h2{font-size:27px;margin:5px 0;color:#fff}.a41-op-title p{margin:0;color:#94a3b8;font-size:11px}.a41-status-pill{margin-left:8px;padding:4px 7px;border-radius:10px;background:rgba(34,197,94,.12);color:#65e78a}.a41-op-meta{display:flex;flex-direction:column;gap:7px;padding:0 14px;border-left:1px solid rgba(255,255,255,.08)}.a41-op-meta span{font-size:9px;color:#8290a4}.a41-op-meta b{display:block;color:#dbe5f1;margin-top:2px}.a41-op-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.a41-op-actions button{height:35px;border-radius:8px;padding:0 10px;font-size:9px;font-weight:1000;cursor:pointer}.a41-ptt-target{display:flex;flex-direction:column;gap:2px}.a41-ptt-target label{font-size:7px;color:#9ca3af;font-weight:900}.a41-ptt-target select{height:35px;background:#0b111b;color:#e2e8f0;border:1px solid rgba(168,85,247,.35);border-radius:8px;padding:0 8px;font-size:9px}.a41-op-mic{width:54px!important;height:54px!important;border-radius:50%!important;border:1px solid #a855f7!important;background:radial-gradient(circle,#a855f7,#6d28d9)!important;color:#fff!important;font-size:19px!important;box-shadow:0 0 22px rgba(168,85,247,.35)}.a41-op-mic small{display:block;font-size:6px}.a41-op-edit{border:1px solid rgba(168,85,247,.5);background:rgba(168,85,247,.09);color:#d8b4fe}.a41-op-task{border:1px solid rgba(59,130,246,.5);background:rgba(59,130,246,.12);color:#93c5fd}.a41-op-end{height:30px!important;padding:0 8px!important;border:1px solid rgba(239,68,68,.45);background:rgba(127,29,29,.15);color:#ff8b8b;font-size:8px!important}.a41-op-subtabs{display:flex;gap:6px;overflow-x:auto;padding:12px 0 8px}.a41-op-subtabs button{white-space:nowrap;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:#91a0b4;border-radius:8px;padding:8px 10px;font-size:8px;font-weight:1000}.a41-op-subtabs button.active{border-color:#a855f7;color:#e9d5ff;background:rgba(168,85,247,.13)}.a41-op-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:9px}.a41-op-stats article{padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}.a41-op-stats small{display:block;color:#8b99aa;font-size:8px;font-weight:900}.a41-op-stats strong{display:block;font-size:25px;color:#fff;margin:3px 0}.a41-op-stats span{font-size:8px;color:#65d88a}.a41-op-grid{display:grid;grid-template-columns:1.45fr .75fr 1fr;gap:9px;align-items:start}.a41-op-card{border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(13,20,31,.88);padding:11px;min-width:0}.a41-op-card header{display:flex;justify-content:space-between;gap:10px;padding-bottom:8px;margin-bottom:7px;border-bottom:1px solid rgba(255,255,255,.06)}.a41-op-card header b{font-size:10px;color:#e5e7eb}.a41-op-card header span{font-size:8px;color:#8b99aa}.a41-op-table>div{display:grid;grid-template-columns:1.1fr .8fr 1fr .65fr;gap:7px;padding:7px 5px;border-bottom:1px solid rgba(255,255,255,.045);align-items:center;font-size:8px}.a41-op-table .head{color:#718096;font-size:7px}.a41-op-table i{color:#4ade80;font-style:normal}.a41-op-table em{color:#64748b;font-style:normal}.a41-room{display:flex;justify-content:space-between;align-items:center;padding:9px;margin:6px 0;border-left:3px solid #a855f7;border-radius:6px;background:rgba(168,85,247,.06);font-size:9px}.a41-room span{color:#a7f3d0}.a41-wide-btn{width:100%;margin-top:7px;padding:8px;border:1px solid rgba(168,85,247,.3);border-radius:7px;background:rgba(168,85,247,.08);color:#d8b4fe;font-size:8px;font-weight:1000}.a41-map-placeholder{grid-row:span 2}.a41-map-fake{position:relative;height:250px;border-radius:8px;overflow:hidden;background:linear-gradient(25deg,rgba(30,64,175,.12),transparent 45%),repeating-linear-gradient(30deg,#101827 0 2px,#0c1420 2px 38px);border:1px solid rgba(255,255,255,.05)}.a41-map-fake>span{position:absolute;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#7c3aed;color:#fff;font-weight:1000;box-shadow:0 0 14px #7c3aed}.a41-map-fake>span:nth-child(1){left:25%;top:28%}.a41-map-fake>span:nth-child(2){left:58%;top:46%;background:#2563eb}.a41-map-fake>span:nth-child(3){left:72%;top:20%;background:#16a34a}.a41-map-fake p{position:absolute;bottom:8px;left:10px;right:10px;margin:0;padding:7px;border-radius:6px;background:rgba(0,0,0,.55);font-size:8px;color:#8fa0b4}.a41-note{padding:8px;margin:6px 0;border-radius:7px;background:rgba(255,255,255,.025);font-size:9px}.a41-note.important{border-left:3px solid #f59e0b}.a41-note b{color:#fbbf24;font-size:7px}.a41-note p{margin:4px 0}.a41-note small{color:#718096;font-size:7px}.a41-timeline>div{display:grid;grid-template-columns:42px 1fr;gap:8px;padding:7px 2px;border-left:2px solid rgba(168,85,247,.35);margin-left:9px}.a41-timeline time{color:#c084fc;font-size:8px;font-weight:1000}.a41-timeline p{margin:0;font-size:9px}.a41-timeline small{display:block;color:#718096;font-size:7px;margin-top:2px}.a41-end-overlay{display:none;position:fixed;inset:0;z-index:20000;background:rgba(0,0,0,.78);backdrop-filter:blur(5px);align-items:center;justify-content:center}.a41-end-overlay.active{display:flex}.a41-end-box{position:relative;width:min(430px,92vw);padding:22px;border:1px solid rgba(239,68,68,.45);border-radius:14px;background:#0d1420;box-shadow:0 20px 60px rgba(0,0,0,.55)}.a41-end-box h2{margin:0 0 8px;color:#ff8a8a}.a41-end-box>p{font-size:10px;color:#9aa8ba;line-height:1.5}.a41-end-x{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#94a3b8;font-size:24px}.a41-end-step{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:10px;margin:9px 0;border:1px solid rgba(255,255,255,.07);border-radius:9px}.a41-end-step>b{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#7c3aed}.a41-end-step span{font-size:9px;font-weight:900}.a41-end-step button{padding:7px 9px;border-radius:6px;border:1px solid rgba(239,68,68,.45);background:rgba(239,68,68,.10);color:#ff9b9b;font-size:8px;font-weight:1000}.a41-end-step button:disabled{opacity:.25}.a41-count{text-align:center;padding:8px}.a41-count strong{display:block;font-size:38px;color:#f87171}.a41-count small{font-size:8px;color:#94a3b8}.a41-cancel{width:100%;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:transparent;color:#94a3b8;font-size:8px;font-weight:1000}@media(max-width:1200px){.a41-op-hero{grid-template-columns:1fr 1fr}.a41-op-actions{grid-column:1/-1;justify-content:flex-start}.a41-op-grid{grid-template-columns:1fr 1fr}.a41-map-placeholder{grid-row:auto}.a41-op-stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.a41-op-hero,.a41-op-grid,.a41-op-stats{grid-template-columns:1fr}.a41-op-meta{border-left:0;padding:0}.a41-op-table>div{grid-template-columns:1fr 1fr}.a41-op-page{padding:8px!important}}

/* ================= A41 PART 2 - ORTAK OPERASYON LIVE ================= */
.a41-op-subtabs{position:relative;z-index:2;margin-top:10px!important;margin-bottom:14px!important;clear:both}
.a41-op-inactive .a41-live-dot{background:#64748b!important;box-shadow:none!important}
.a41-op-empty{margin:28px;padding:48px 24px;border:1px solid rgba(168,85,247,.35);border-radius:16px;background:linear-gradient(145deg,rgba(88,28,135,.18),rgba(15,23,42,.72));text-align:center}
.a41-op-empty-icon{font-size:54px}.a41-op-empty h2{margin:8px 0;color:#fff}.a41-op-empty p{color:#cbd5e1}.a41-op-empty small{display:block;max-width:760px;margin:15px auto 0;color:#94a3b8;line-height:1.5}
.a41-op-create{padding:12px 22px;border:0;border-radius:9px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 0 18px rgba(168,85,247,.3)}
.a41-op-history-full{grid-column:1/-1}.a41-history-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.a41-history-row span,.a41-history-row small{color:#94a3b8}
.a41-empty-row{padding:14px;color:#94a3b8}.a41-room-help{display:block;padding:12px;color:#94a3b8;line-height:1.45}.a41-note{position:relative}.a41-note-del{position:absolute;right:8px;top:8px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(239,68,68,.16);color:#fca5a5;cursor:pointer}
@media(max-width:850px){.a41-history-row{grid-template-columns:1fr}.a41-op-empty{margin:12px;padding:30px 14px}.a41-op-subtabs{overflow-x:auto;flex-wrap:nowrap!important}}


/* A41 FIRST IMAGE LOCKED LAYOUT - 2026-08-28 */
#tab-operation{font-size:12px}
#tab-operation .a41-op-hero{padding:10px 12px!important;min-height:86px!important}
#tab-operation .a41-op-title h2{font-size:18px!important;margin:3px 0!important}
#tab-operation .a41-op-subtabs{position:relative!important;z-index:20!important;min-height:42px!important;margin:5px 0 7px!important;background:#080d14!important}
#tab-operation .a41-op-subtabs button{font-size:10px!important;height:34px!important}
#tab-operation .a41-op-stats.a41-info-compact{display:grid!important;grid-template-columns:repeat(4,minmax(145px,1fr))!important;gap:7px!important;width:min(930px,62vw)!important;margin:0 0 8px!important;overflow:visible!important}
#tab-operation .a41-op-stats.a41-info-compact article{position:relative!important;min-height:62px!important;padding:7px 10px!important;overflow:visible!important}
#tab-operation .a41-op-stats article small{font-size:8px!important}
#tab-operation .a41-op-stats article strong{font-size:20px!important;line-height:22px!important}
#tab-operation .a41-op-stats article span{font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#tab-operation .a41-first-image-grid{display:grid!important;grid-template-columns:minmax(330px,390px) minmax(285px,330px) minmax(470px,1fr)!important;grid-template-areas:"people open map" "timeline timeline map" "notes notes map" "history history map"!important;gap:8px!important;align-items:start!important}
#tab-operation .a41-people-compact{grid-area:people!important}
#tab-operation .a41-open-notes{grid-area:open!important;min-height:338px!important}
#tab-operation .a41-first-map{grid-area:map!important;min-height:560px!important;align-self:stretch!important}
#tab-operation .a41-first-timeline{grid-area:timeline!important;min-height:160px!important}
#tab-operation .a41-first-regular-notes{grid-area:notes!important}
#tab-operation .a41-first-history{grid-area:history!important}
#tab-operation .a41-op-card{padding:8px!important}
#tab-operation .a41-op-card>header{min-height:28px!important;margin-bottom:6px!important}
#tab-operation .a41-op-card>header b{font-size:10px!important}
#tab-operation .a41-op-card>header span{font-size:8px!important}
#tab-operation .a41-people-compact-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
#tab-operation .a41-person-mini{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;min-height:43px!important;padding:6px 8px!important;border:1px solid rgba(255,255,255,.07)!important;border-left:3px solid #7c3aed!important;border-radius:7px!important;background:rgba(255,255,255,.025)!important}
#tab-operation .a41-person-mini b{display:block!important;font-size:10px!important;color:#f7f9ff!important}
#tab-operation .a41-person-mini small{display:block!important;margin-top:2px!important;font-size:7.5px!important;color:#8fa0b7!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:130px!important}
#tab-operation .a41-person-mini i,#tab-operation .a41-person-mini em{font-size:7px!important;font-style:normal!important;white-space:nowrap!important}
#tab-operation .a41-person-mini i{color:#4ade80!important}#tab-operation .a41-person-mini em{color:#fb7185!important}
#tab-operation .a41-open-note-input{display:grid!important;grid-template-columns:1fr 34px!important;gap:5px!important;margin-bottom:6px!important}
#tab-operation .a41-open-note-input input{height:32px!important;border:1px solid rgba(168,85,247,.35)!important;border-radius:6px!important;background:#080d15!important;color:#eef2ff!important;padding:0 9px!important;font-size:9px!important}
#tab-operation .a41-open-note-input button{height:32px!important;border:1px solid rgba(34,197,94,.35)!important;border-radius:6px!important;background:rgba(34,197,94,.10)!important;color:#86efac!important;cursor:pointer!important}
#tab-operation .a41-open-note-list{min-height:285px!important;max-height:330px!important;overflow:auto!important}
#tab-operation .a41-open-note-item{position:relative!important;padding:7px 28px 7px 8px!important;margin-bottom:5px!important;border:1px solid rgba(250,204,21,.16)!important;border-left:3px solid #facc15!important;border-radius:6px!important;background:rgba(250,204,21,.035)!important}
#tab-operation .a41-open-note-item p{font-size:9px!important;margin:0 0 4px!important;line-height:1.35!important}.a41-open-note-item small{font-size:7px!important;color:#8fa0b7!important}
#tab-operation .a41-open-note-item button{position:absolute!important;right:5px!important;top:5px!important;width:21px!important;height:21px!important;border:1px solid rgba(239,68,68,.35)!important;border-radius:5px!important;background:rgba(127,29,29,.15)!important;color:#ff8b8b!important;cursor:pointer!important}
#tab-operation .a41-first-map .a41-map-fake{min-height:515px!important;height:calc(100% - 34px)!important}
#tab-operation .a41-timeline>div{min-height:36px!important}
#tab-operation .a41-timeline time{font-size:8px!important}#tab-operation .a41-timeline p b{font-size:9px!important}#tab-operation .a41-timeline p small{font-size:7.5px!important}
#tab-operation .a41-team-stat{cursor:pointer!important;overflow:visible!important}
#tab-operation .a41-team-stat::after{content:"⌄";position:absolute;right:8px;top:7px;color:#c084fc;font-size:12px}
#tab-operation .a41-team-pop{display:none;position:absolute;left:0;top:calc(100% + 6px);z-index:10000;width:260px;padding:6px;background:#0b111b;border:1px solid rgba(168,85,247,.55);border-radius:9px;box-shadow:0 15px 40px rgba(0,0,0,.7)}
#tab-operation .a41-team-pop.open{display:block!important}
#tab-operation .a41-team-pop-add{width:100%;height:32px;margin-bottom:5px;padding:0 9px;text-align:left;border:1px solid rgba(34,197,94,.45);border-radius:6px;background:rgba(34,197,94,.10);color:#86efac;font-size:9px;font-weight:900;cursor:pointer}
#tab-operation .a41-team-pop-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:6px;align-items:center;min-height:40px;margin-top:4px;padding:5px 5px 5px 9px;background:rgba(168,85,247,.045);border:1px solid rgba(255,255,255,.07);border-left:3px solid #a855f7;border-radius:6px}
#tab-operation .a41-team-pop-row b{display:block;color:#fff;font-size:10px}#tab-operation .a41-team-pop-row small{display:block;margin-top:2px;color:#4ade80;font-size:7px}
#tab-operation .a41-team-pop-remove{width:27px;height:27px;padding:0;border:1px solid rgba(239,68,68,.42);border-radius:6px;background:rgba(127,29,29,.17);color:#ff8b8b;font-size:15px;cursor:pointer}
@media(max-width:1500px){#tab-operation .a41-first-image-grid{grid-template-columns:minmax(300px,360px) minmax(250px,310px) minmax(390px,1fr)!important}#tab-operation .a41-op-stats.a41-info-compact{width:min(850px,66vw)!important}}
@media(max-width:1000px){#tab-operation .a41-op-stats.a41-info-compact{width:100%!important;grid-template-columns:1fr 1fr!important}#tab-operation .a41-first-image-grid{grid-template-columns:1fr!important;grid-template-areas:"people" "open" "map" "timeline" "notes" "history"!important}.a41-people-compact-list{grid-template-columns:1fr!important}}

/* =========================================================
   A41 - HARITA + TIMELINE BOY DENGESI
   ========================================================= */

/* HARİTA: aşağı doğru gereksiz uzamasın */
#tab-operation [data-a41-section="map"]{
    height:430px!important;
    min-height:430px!important;
    max-height:430px!important;
    overflow:hidden!important;
}

/* Haritanın iç alanı karta sığsın */
#tab-operation [data-a41-section="map"] .leaflet-container,
#tab-operation [data-a41-section="map"] .a41-map,
#tab-operation [data-a41-section="map"] .a41-map-box,
#tab-operation [data-a41-section="map"] .a41-fake-map{
    height:385px!important;
    min-height:0!important;
    max-height:385px!important;
}

/* ZAMAN ÇİZELGESİ: kompakt */
#tab-operation [data-a41-section="timeline"]{
    height:225px!important;
    min-height:225px!important;
    max-height:225px!important;
    overflow:hidden!important;
}

/* Timeline kayıtları kendi içinde scroll */
#tab-operation [data-a41-section="timeline"] .a41-timeline,
#tab-operation [data-a41-section="timeline"] .a41-timeline-list,
#tab-operation [data-a41-section="timeline"] .a41-list{
    max-height:180px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}

/* Ana grid satırları içeriğe göre uzamasın */
#tab-operation .a41-operation-grid,
#tab-operation .a41-main-grid{
    align-items:start!important;
    grid-auto-rows:auto!important;
}



/* A41 OPERATION FLASH FIX */
#tab-operation:not(.a41-render-ready) > *{
    visibility:hidden!important;
}

#tab-operation:not(.a41-render-ready)::after{
    content:"ORTAK OPERASYON YÜKLENİYOR...";
    visibility:visible!important;
    display:flex;
    align-items:center;
    justify-content:center;
    height:160px;
    color:#c084fc;
    font-size:11px;
    font-weight:900;
    letter-spacing:.5px;
}

#tab-operation.a41-render-ready::after{
    display:none!important;
}


/* A41 UI NOTE + ROOM MANAGER FINAL */
#tab-operation .a41-first-image-grid{grid-template-areas:"people open map" "timeline timeline map" "history history map"!important;}
#tab-operation .a41-first-map,#tab-operation [data-a41-section="map"]{min-height:430px!important;height:430px!important;max-height:430px!important;overflow:hidden!important;}
#tab-operation .a41-first-map .a41-map-fake{min-height:385px!important;height:385px!important;max-height:385px!important;}
#tab-operation .a41-first-timeline,#tab-operation [data-a41-section="timeline"]{min-height:225px!important;height:225px!important;max-height:225px!important;overflow:hidden!important;}
#tab-operation .a41-timeline{overflow-y:auto!important;}
#tab-operation .a41-first-regular-notes{display:none!important;}
#tab-operation .a41-open-note-input{grid-template-columns:minmax(0,1fr) 72px!important;}
#tab-operation .a41-open-note-input button{width:72px!important;height:32px!important;position:static!important;font-size:8px!important;font-weight:1000!important;color:#86efac!important;background:rgba(34,197,94,.11)!important;border:1px solid rgba(34,197,94,.38)!important;}
#tab-operation .a41-open-note-item{min-height:48px!important;padding:7px 94px 7px 8px!important;}
#tab-operation .a41-open-note-item .a41-note-main p{margin:0 0 4px!important;}
#tab-operation .a41-open-note-item .a41-note-main small b{color:#c084fc!important;}
#tab-operation .a41-open-note-item button.a41-note-complete{position:absolute!important;right:6px!important;top:50%!important;transform:translateY(-50%)!important;width:78px!important;height:28px!important;border:1px solid rgba(34,197,94,.45)!important;border-radius:6px!important;background:rgba(34,197,94,.11)!important;color:#86efac!important;font-size:7.5px!important;font-weight:1000!important;}
#tab-operation .a41-note-owner{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:80px!important;color:#94a3b8!important;font-size:7px!important;text-align:center!important;}
#tab-operation .a41-open-note-item.is-done{border-left-color:#22c55e!important;background:rgba(34,197,94,.045)!important;}
#tab-operation .a41-open-note-item.is-done p{text-decoration:line-through!important;text-decoration-thickness:1px!important;opacity:.52!important;}
#tab-operation .a41-open-note-item.is-done .a41-note-main small{opacity:.55!important;}
#tab-operation .a41-note-done{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:82px!important;color:#4ade80!important;font-size:7.5px!important;font-weight:1000!important;line-height:1.35!important;text-align:center!important;}
#tab-operation .a41-note-done small{color:#7dd3a6!important;font-size:6.5px!important;}
.a41-room-manager-modal{display:none;position:fixed;inset:0;z-index:19000;align-items:center;justify-content:center;background:rgba(0,0,0,.72);backdrop-filter:blur(4px);}
.a41-room-manager-modal.active{display:flex;}
.a41-room-manager-box{width:min(620px,92vw);max-height:78vh;overflow:auto;padding:12px;border:1px solid rgba(168,85,247,.45);border-radius:12px;background:#0b111b;box-shadow:0 20px 60px rgba(0,0,0,.6);}
.a41-room-manager-box>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.08);}
.a41-room-manager-box>header small{color:#a78bfa;font-size:8px;font-weight:900;}
.a41-room-manager-box>header h3{margin:2px 0 0;color:#fff;font-size:15px;}
.a41-room-manager-box>header>button{width:31px;height:31px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:rgba(255,255,255,.03);color:#cbd5e1;font-size:19px;cursor:pointer;}
.a41-room-manager-help{margin:9px 0;padding:8px;border-radius:7px;background:rgba(168,85,247,.07);color:#94a3b8;font-size:9px;}
.a41-room-manager-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;margin:6px 0;padding:7px 10px;border:1px solid rgba(255,255,255,.07);border-left:3px solid #8b5cf6;border-radius:8px;background:rgba(255,255,255,.025);cursor:context-menu;}
.a41-room-manager-row:hover{border-color:rgba(168,85,247,.40);background:rgba(168,85,247,.07);}
.a41-room-manager-row b{display:block;color:#f8fafc;font-size:11px;}
.a41-room-manager-row small{display:block;margin-top:3px;color:#8290a4;font-size:8px;}
.a41-room-manager-row>span{min-width:74px;text-align:center;font-size:8px;font-weight:900;}
.a41-room-manager-row>span.locked{color:#fbbf24;}
.a41-room-manager-row>span.open{color:#4ade80;}
#tab-operation:not(.a41-render-ready)>*{visibility:hidden!important;}
#tab-operation:not(.a41-render-ready)::after{content:"ORTAK OPERASYON YÜKLENİYOR...";visibility:visible!important;display:flex;align-items:center;justify-content:center;min-height:150px;color:#c084fc;font-size:10px;font-weight:900;}
#tab-operation.a41-render-ready::after{display:none!important;}

/* A41 OPERASYON ODA SAG TIK Z-INDEX FIX */
#ctx-menu-room{
    z-index:25000!important;
}
#room-rename-modal,
#room-delete-modal{
    z-index:25100!important;
}


.a41-room-manager-add{
  width:100%!important;
  height:34px!important;
  margin:0 0 8px!important;
  border:1px solid rgba(34,197,94,.45)!important;
  border-radius:7px!important;
  background:rgba(34,197,94,.10)!important;
  color:#86efac!important;
  font-size:9px!important;
  font-weight:1000!important;
  cursor:pointer!important;
}

/* ==========================================================
   A44 TELSiZ YONETIMI - KART / FILTRE / ARAMA
   ========================================================== */

.a44-radio-toolbar{
  position:sticky;
  top:0;
  z-index:15;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  padding:10px 8px 12px;
  margin-bottom:8px;
  background:var(--bg-color,#0b1016);
  border-bottom:1px solid var(--border-color);
}

.a44-radio-search-wrap{
  min-width:260px;
  flex:1 1 320px;
  height:40px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  border:1px solid var(--border-color);
  border-radius:10px;
  background:rgba(255,255,255,.035);
}

.a44-radio-search-wrap input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text-color,#fff);
  font-size:13px;
  font-weight:700;
}

.a44-radio-filters{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.a44-radio-filters button{
  min-height:34px;
  padding:6px 10px;
  border-radius:9px;
  border:1px solid var(--border-color);
  background:rgba(255,255,255,.035);
  color:var(--text-muted);
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.a44-radio-filters button b{
  margin-left:4px;
  color:inherit;
}

.a44-radio-filters button.active{
  color:#fff;
  border-color:rgba(88,166,255,.6);
  background:rgba(88,166,255,.18);
  box-shadow:0 0 0 1px rgba(88,166,255,.10) inset;
}

.a44-radio-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-items:start;
  padding:2px 4px 12px;
}

.a44-radio-grid .a36-agent-card{
  margin:0;
  min-width:0;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border-color);
  background:rgba(255,255,255,.025);
}

.a44-radio-grid .a36-agent-card.open{
  grid-column:1 / -1;
  border-color:rgba(88,166,255,.42);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
}

.a44-radio-grid .a36-agent-card-head{
  min-height:58px;
}

.a44-radio-grid .a36-radio-name{
  font-size:14px;
}

.a44-radio-grid .a36-radio-name.online::before{
  content:"● ";
  color:#3ddc84;
}

.a44-radio-grid .a36-radio-name.offline::before{
  content:"● ";
  color:#87909c;
}

.a44-radio-empty{
  grid-column:1 / -1;
  min-height:100px;
  display:flex;
  justify-content:center;
  align-items:center;
}

@media(max-width:900px){
  .a44-radio-grid{
    grid-template-columns:1fr;
  }

  .a44-radio-grid .a36-agent-card.open{
    grid-column:auto;
  }
}

@media(max-width:600px){
  .a44-radio-toolbar{
    padding:8px 4px 10px;
  }

  .a44-radio-search-wrap{
    min-width:100%;
  }

  .a44-radio-filters{
    width:100%;
  }

  .a44-radio-filters button{
    flex:1 1 auto;
  }
}

/* ==========================================================
   A44 - TELSiZ YONETIMI / BUYUK GUNCELLEME EKRANI
   ========================================================== */

.a44-update-box{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px;
  border:1px solid var(--border-color);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}

.a44-update-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-bottom:13px;
  border-bottom:1px solid var(--border-color);
}

.a44-update-title>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.a44-update-title>div>span{
  font-size:11px;
  font-weight:900;
  letter-spacing:.8px;
  color:var(--text-muted);
}

.a44-update-title>div>b{
  font-size:20px;
  line-height:1.15;
}

.a44-update-agent-state{
  padding:7px 11px;
  border-radius:999px;
  font-size:10px;
  font-weight:950;
  white-space:nowrap;
}

.a44-update-agent-state.ok{
  color:#52e095;
  border:1px solid rgba(82,224,149,.35);
  background:rgba(35,164,97,.10);
}

.a44-update-agent-state.off{
  color:#9aa3ae;
  border:1px solid var(--border-color);
}

.a44-update-version-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);
  gap:10px;
  align-items:stretch;
}

.a44-update-version-card{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:15px;
  border:1px solid var(--border-color);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.a44-update-version-card>span{
  font-size:10px;
  font-weight:950;
  letter-spacing:.7px;
  color:var(--text-muted);
}

.a44-update-version-card strong{
  font-size:25px;
  line-height:1;
  letter-spacing:.3px;
}

.a44-update-version-card small{
  font-size:10px;
  color:var(--text-muted);
}

.a44-update-version-card.current{
  border-color:rgba(82,224,149,.25);
}

.a44-update-version-card.current strong{
  color:#52e095;
}

.a44-update-version-card.target{
  border-color:rgba(88,166,255,.35);
}

.a44-update-version-card select{
  width:100%;
  height:48px;
  padding:0 13px;
  border:1px solid rgba(88,166,255,.55);
  border-radius:9px;
  outline:none;
  background:#101822;
  color:#fff;
  font-size:17px;
  font-weight:950;
  cursor:pointer;
}

.a44-update-version-card select option{
  font-size:16px;
  padding:8px;
}

.a44-update-arrow{
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:28px;
  font-weight:900;
  color:#58a6ff;
}

.a44-auto-update-line{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:66px;
  padding:12px 14px;
  border:1px solid var(--border-color);
  border-radius:11px;
  cursor:pointer;
  background:rgba(255,255,255,.018);
}

.a44-auto-update-line input{
  width:23px;
  height:23px;
  flex:0 0 auto;
  accent-color:#58a6ff;
}

.a44-auto-update-line>span{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.a44-auto-update-line b{
  font-size:12px;
}

.a44-auto-update-line small{
  font-size:10px;
  color:var(--text-muted);
}

.a44-update-actions{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:10px;
}

.a44-update-actions button{
  min-height:52px;
  padding:10px 15px;
  border-radius:10px;
  font-size:13px;
  font-weight:950;
  cursor:pointer;
}

.a44-update-actions button.primary{
  border:1px solid rgba(88,166,255,.70);
  background:rgba(88,166,255,.20);
  color:#dcebff;
}

.a44-update-actions button.primary:hover{
  background:rgba(88,166,255,.30);
}

.a44-update-actions button.secondary{
  border:1px solid var(--border-color);
  background:rgba(255,255,255,.04);
  color:var(--text-color);
}

.a44-update-actions button:disabled{
  opacity:.38;
  cursor:not-allowed;
}

.a44-update-info{
  padding:11px 13px;
  border-radius:9px;
  border:1px solid rgba(255,193,7,.20);
  background:rgba(255,193,7,.055);
  color:var(--text-muted);
  font-size:10px;
  line-height:1.5;
}

.a44-update-info b{
  color:#ffd666;
}

@media(max-width:760px){

  .a44-update-box{
    padding:12px;
  }

  .a44-update-version-row{
    grid-template-columns:1fr;
  }

  .a44-update-arrow{
    transform:rotate(90deg);
    height:26px;
  }

  .a44-update-actions{
    grid-template-columns:1fr;
  }

  .a44-update-actions button{
    min-height:54px;
    font-size:13px;
  }

  .a44-update-version-card select{
    height:52px;
    font-size:18px;
  }
}

/* ==========================================================
   A44 - TOPLU AGENT SURUM YONETIMI
   ========================================================== */

.a44-bulk-update-bar{
  display:flex;
  align-items:stretch;
  gap:9px;
  flex-wrap:wrap;
  margin:4px 4px 10px;
  padding:12px;
  border:1px solid var(--border-color);
  border-radius:13px;
  background:rgba(255,255,255,.025);
}

.a44-bulk-update-info{
  min-width:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  padding:8px 13px;
  border-right:1px solid var(--border-color);
}

.a44-bulk-update-info span{
  font-size:9px;
  font-weight:950;
  color:var(--text-muted);
  letter-spacing:.6px;
}

.a44-bulk-update-info strong{
  font-size:21px;
  color:#58a6ff;
}

.a44-bulk-count{
  min-width:105px;
  padding:8px 12px;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border:1px solid var(--border-color);
}

.a44-bulk-count b{
  font-size:20px;
  line-height:1;
}

.a44-bulk-count span{
  margin-top:5px;
  font-size:8px;
  font-weight:950;
  text-align:center;
}

.a44-bulk-count.green{
  color:#52e095;
  background:rgba(35,164,97,.08);
  border-color:rgba(82,224,149,.22);
}

.a44-bulk-count.red{
  color:#ff6b6b;
  background:rgba(220,50,50,.08);
  border-color:rgba(255,90,90,.25);
}

.a44-bulk-count.yellow{
  color:#ffd666;
  background:rgba(255,193,7,.07);
  border-color:rgba(255,193,7,.25);
}

.a44-bulk-update-button{
  flex:1 1 240px;
  min-height:54px;
  padding:10px 18px;
  border-radius:10px;
  border:1px solid rgba(88,166,255,.68);
  background:rgba(88,166,255,.18);
  color:#e7f2ff;
  font-size:12px;
  font-weight:950;
  cursor:pointer;
}

.a44-bulk-update-button:hover:not(:disabled){
  background:rgba(88,166,255,.28);
}

.a44-bulk-update-button:disabled{
  opacity:.35;
  cursor:not-allowed;
}


/* Kart sürüm durumları */

.a36-version-chip.a44-version-current{
  color:#52e095 !important;
  border-color:rgba(82,224,149,.38) !important;
  background:rgba(35,164,97,.10) !important;
}

.a36-version-chip.a44-version-outdated{
  color:#ff6b6b !important;
  border-color:rgba(255,90,90,.45) !important;
  background:rgba(220,50,50,.12) !important;
}

.a36-version-chip.a44-version-updating{
  color:#ffd666 !important;
  border-color:rgba(255,193,7,.45) !important;
  background:rgba(255,193,7,.09) !important;
}

.a36-version-chip.a44-version-unknown{
  color:#8994a3 !important;
}


@media(max-width:760px){

  .a44-bulk-update-info{
    width:100%;
    border-right:0;
    border-bottom:1px solid var(--border-color);
  }

  .a44-bulk-count{
    flex:1 1 30%;
  }

  .a44-bulk-update-button{
    width:100%;
    flex-basis:100%;
    min-height:58px;
  }
}


/* A44 MODULAR AUTO FW STATUS */
.a44-fw-state{border-width:1px!important;border-style:solid!important}.a44-fw-state b{display:block;margin-top:3px}.a44-fw-state.ok{border-color:rgba(67,211,137,.35)!important;background:rgba(35,164,97,.08)!important}.a44-fw-state.ok b{color:#52e095!important}.a44-fw-state.work{border-color:rgba(255,193,7,.35)!important;background:rgba(255,193,7,.06)!important}.a44-fw-state.work b{color:#ffd666!important}.a44-fw-state.bad{border-color:rgba(255,90,90,.4)!important;background:rgba(220,50,50,.08)!important}.a44-fw-state.bad b,.a44-fw-state.bad small{color:#ff6b6b!important}.a44-fw-state small{display:block;margin-top:4px;font-size:9px}


/* A44_AGENT_MISSING_STYLE */
.a36-radio-row.agent-missing{
  border-color:#d29922 !important;
  background:rgba(210,153,34,.12) !important;
  box-shadow:inset 3px 0 0 #d29922;
}

.a36-radio-row.agent-missing .a36-radio-name{
  color:#f0b849 !important;
}

.a44-agent-missing-badge{
  display:inline-block;
  margin-left:7px;
  padding:1px 5px;
  border-radius:4px;
  font-size:9px;
  font-weight:800;
  color:#f0b849;
  background:rgba(210,153,34,.14);
  border:1px solid rgba(210,153,34,.45);
  vertical-align:1px;
}


/* A44 TELSIZ YONETIMI KISI KARTI GORUNUMU */
.a36-agent-list{
  max-height:67vh!important;
  overflow:auto!important;
}

.a44-radio-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}

.a44-radio-card{
  min-width:0;
  border-radius:12px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
  box-shadow:0 7px 20px rgba(0,0,0,.14);
}

.a44-radio-card:hover{
  border-color:rgba(242,101,34,.42)!important;
}

.a44-radio-card.open{
  grid-column:1/-1;
  border-color:rgba(88,166,255,.42)!important;
}

.a44-radio-card-head{
  display:block!important;
  width:100%!important;
  padding:12px!important;
  text-align:left!important;
}

.a44-radio-card-top{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.a44-radio-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-size:17px;
  background:rgba(88,166,255,.10);
  border:1px solid rgba(88,166,255,.22);
}

.a44-radio-avatar.online{
  background:rgba(63,185,80,.10);
  border-color:rgba(63,185,80,.32);
}

.a44-radio-avatar.offline{
  opacity:.55;
}

.a44-radio-title{
  min-width:0;
  flex:1;
}

.a44-radio-title .a36-radio-name{
  display:block;
  font-size:13px;
}

.a44-radio-title small{
  display:block;
  margin-top:2px;
  color:var(--text-muted);
  font-size:9px;
  font-family:monospace;
}

.a44-radio-online{
  flex:0 0 auto;
  font-size:8px;
  font-weight:1000;
  padding:4px 6px;
  border-radius:999px;
  border:1px solid var(--border-color);
}

.a44-radio-online.online{
  color:#54e881;
  background:rgba(63,185,80,.09);
  border-color:rgba(63,185,80,.28);
}

.a44-radio-online.offline{
  color:#8792a2;
  background:rgba(127,140,155,.07);
}

.a44-radio-card-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:10px;
}

.a44-radio-card-meta>span{
  min-width:0;
  padding:7px 8px;
  border-radius:8px;
  background:rgba(0,0,0,.13);
}

.a44-radio-card-meta small{
  display:block;
  color:var(--text-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.35px;
}

.a44-radio-card-meta b{
  display:block;
  margin-top:3px;
  color:var(--text-main);
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.a44-radio-card-meta b.ok{color:#54e881}
.a44-radio-card-meta b.off{color:#8a95a4}

.a44-radio-card-foot{
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:var(--text-muted);
  font-size:8px;
  font-weight:900;
}

.a44-radio-card .a36-agent-body{
  background:rgba(0,0,0,.08);
}

html[data-tcc-theme="light"] .a44-radio-card{
  background:#fff!important;
  border-color:#d6e0ea!important;
}

html[data-tcc-theme="light"] .a44-radio-card-meta>span{
  background:#f0f4f8!important;
}

@media(max-width:760px){
  .a44-radio-grid{
    grid-template-columns:1fr!important;
  }
  .a44-radio-card.open{
    grid-column:auto;
  }
}


/* TCC JOINT CUSTOM AUTOCOMPLETE */
#tcc-custom-suggest{
  position:fixed;
  z-index:999999;
  background:linear-gradient(180deg,#09131f 0%,#07111b 100%);
  border:1px solid rgba(27,198,230,.72);
  border-radius:12px;
  box-shadow:0 18px 45px rgba(0,0,0,.55),0 0 0 1px rgba(27,198,230,.08) inset;
  overflow:hidden;
  color:#eaf5ff;
}
.tcc-suggest-list{
  max-height:310px;
  overflow-y:auto;
  padding:7px;
}
.tcc-suggest-list::-webkit-scrollbar{width:8px}
.tcc-suggest-list::-webkit-scrollbar-track{background:#0b1722}
.tcc-suggest-list::-webkit-scrollbar-thumb{background:#1abbd5;border-radius:20px}
.tcc-suggest-row{
  width:100%;
  border:0;
  background:transparent;
  color:#eef7ff;
  padding:11px 13px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  cursor:pointer;
  font-size:14px;
  transition:.14s ease;
}
.tcc-suggest-row:hover{
  background:rgba(20,174,208,.17);
  box-shadow:inset 3px 0 0 #20d8ee;
}
.tcc-suggest-row.is-special{
  color:#47e3f3;
  font-weight:800;
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:4px;
}
.tcc-suggest-row.is-selected{
  background:rgba(26,198,91,.08);
  color:#aef8c4;
  cursor:default;
}
.tcc-suggest-row small{
  color:#8096aa;
  font-size:11px;
  white-space:nowrap;
}
.tcc-suggest-ok{
  color:#30df75;
  font-size:11px;
  letter-spacing:.3px;
}
.tcc-suggest-empty{
  color:#7f94a8;
  padding:16px;
  text-align:center;
  font-size:13px;
}
.tcc-suggest-selected{
  border-top:1px solid rgba(30,198,225,.2);
  padding:12px;
  background:rgba(3,13,22,.72);
}
.tcc-suggest-selected-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
  color:#eaf5ff;
}
.tcc-suggest-selected-head b{font-size:12px}
.tcc-suggest-selected-head span{font-size:11px;color:#8398ab}
.tcc-suggest-chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.tcc-suggest-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(30,198,225,.22);
  border-radius:8px;
  background:#0a1722;
  color:#eaf5ff;
  font-size:12px;
}
.tcc-suggest-chip i{
  width:20px;
  height:20px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-weight:900;
  color:#fff;
  background:#22d863;
  box-shadow:0 0 12px rgba(34,216,99,.35);
}


/* TCC JOINT CUSTOM DROPDOWN CLOSE */
#tcc-custom-suggest{
  position:fixed;
}

.tcc-suggest-close{
  position:absolute;
  top:8px;
  right:8px;
  width:28px;
  height:28px;
  border:1px solid rgba(35,210,235,.35);
  border-radius:7px;
  background:#0b1823;
  color:#8ea4b8;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.15s ease;
}

.tcc-suggest-close:hover{
  color:#fff;
  background:#132838;
  border-color:#26d4e7;
  box-shadow:0 0 12px rgba(38,212,231,.18);
}

.tcc-suggest-list{
  padding-top:42px;
}

/* A44 CUSTOM MODAL SIZE FIX */
#custom-modal-box{
  width:560px !important;
  max-width:92vw !important;
  max-height:84vh !important;
  overflow-y:auto !important;
  padding:28px !important;
}

#custom-modal-message{
  max-height:38vh;
  overflow-y:auto;
}

#custom-modal-buttons{
  position:sticky;
  bottom:0;
  padding-top:12px;
  background:var(--panel-bg);
  z-index:2;
}

@media (max-width:700px){
  #custom-modal-box{
    width:92vw !important;
    max-height:88vh !important;
    padding:20px !important;
  }
}

/* A44 PROMPT BUTTONS SIDE FIX */
#custom-modal-box{
  position:relative !important;
  padding-bottom:28px !important;
}

#custom-modal-input{
  width:calc(100% - 150px) !important;
  margin-right:150px !important;
}

#custom-modal-buttons{
  position:absolute !important;
  right:28px !important;
  bottom:28px !important;
  top:auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  width:115px !important;
  padding:0 !important;
  background:transparent !important;
  z-index:20 !important;
}

#custom-modal-btn-cancel,
#custom-modal-btn-ok{
  width:100% !important;
  margin:0 !important;
}

@media (max-width:700px){
  #custom-modal-input{
    width:100% !important;
    margin-right:0 !important;
  }

  #custom-modal-buttons{
    position:static !important;
    width:auto !important;
    flex-direction:row !important;
    justify-content:center !important;
    margin-top:12px !important;
  }
}


/* A44 JOINT PARTICIPANT REMOVE */
.a41-person-mini-actions{
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:auto;
}

.a41-person-remove{
  border:1px solid rgba(255,91,91,.45);
  background:rgba(135,23,32,.20);
  color:#ff9a9a;
  border-radius:7px;
  padding:5px 8px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  transition:.15s ease;
}

.a41-person-remove:hover{
  background:rgba(195,34,46,.32);
  border-color:#ff6868;
  color:#fff;
  box-shadow:0 0 10px rgba(255,68,68,.15);
}


/* A44 SMALL REMOVE X */
.a41-person-mini-right{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.a41-remove-x{
  width:22px;
  height:22px;
  padding:0;
  border:1px solid rgba(255,80,80,.55);
  border-radius:6px;
  background:rgba(145,20,28,.18);
  color:#ff6b6b;
  font-size:16px;
  line-height:20px;
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.a41-remove-x:hover{
  background:rgba(190,30,40,.30);
  color:#fff;
  border-color:#ff5b5b;
}


/* A44 REMOVE X DOM SAFE */
.a41-person-mini{
  position:relative;
}

.a41-person-mini .a41-remove-x{
  flex:0 0 22px;
  width:22px;
  height:22px;
  min-width:22px;
  margin-left:8px;
  padding:0;
  border:1px solid rgba(255,75,75,.55);
  border-radius:6px;
  background:rgba(150,20,30,.18);
  color:#ff6868;
  font-size:17px;
  line-height:19px;
  font-weight:900;
  cursor:pointer;
}

.a41-person-mini .a41-remove-x:hover{
  color:#fff;
  border-color:#ff5252;
  background:rgba(205,32,42,.34);
}

/* ===== SITE10 ORTAK OPERASYON GPS HARITA + TABLO ===== */
#tab-operation .a41-joint-gps-wrap{
    height:385px;
    display:grid;
    grid-template-rows:245px 28px 112px;
    gap:0;
    overflow:hidden;
}
#tab-operation #a41-joint-map{
    width:100%!important;
    height:245px!important;
    min-height:245px!important;
    max-height:245px!important;
    background:#0b111b;
}
#tab-operation .a41-joint-gps-meta{
    display:flex;
    align-items:center;
    padding:0 9px;
    border-top:1px solid rgba(255,255,255,.07);
    border-bottom:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);
    font-size:9px;
    font-weight:800;
    color:#cbd5e1;
}
#tab-operation .a41-joint-gps-table-wrap{
    height:112px;
    overflow:auto;
}
#tab-operation .a41-joint-gps-table{
    width:100%;
    border-collapse:collapse;
    font-size:8px;
}
#tab-operation .a41-joint-gps-table th{
    position:sticky;
    top:0;
    z-index:2;
    padding:5px 6px;
    background:#111827;
    color:#94a3b8;
    text-align:left;
    font-size:7px;
}
#tab-operation .a41-joint-gps-table td{
    padding:5px 6px;
    border-top:1px solid rgba(255,255,255,.055);
    color:#e5e7eb;
    white-space:nowrap;
}
#tab-operation .a41-joint-gps-table a{
    color:#60a5fa;
    text-decoration:none;
}
#tab-operation .a41-joint-map-empty{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#94a3b8;
    font-size:11px;
    text-align:center;
    padding:20px;
}

/* ===== SITE10 LIVE MAP + SINGLE RADIO HISTORY ===== */

#tab-operation .a41-joint-live-wrap{
  height:385px;
  display:grid;
  grid-template-rows:42px 343px;
  position:relative;
  overflow:hidden;
}

#tab-operation .a41-joint-live-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:5px 8px;
  background:#0d1420;
  border-bottom:1px solid rgba(255,255,255,.08);
}

#tab-operation .a41-joint-live-head b{
  display:block;
  font-size:9px;
  color:#fff;
}

#tab-operation .a41-joint-live-head small{
  display:block;
  margin-top:2px;
  font-size:7px;
  color:#9ca3af;
}

#tab-operation .a41-joint-history-toggle{
  border:1px solid rgba(242,101,34,.5);
  border-radius:7px;
  background:rgba(242,101,34,.12);
  color:#ffb38d;
  font-size:8px;
  font-weight:900;
  padding:7px 10px;
  cursor:pointer;
}

#tab-operation #a41-joint-map{
  height:343px!important;
  min-height:343px!important;
  max-height:343px!important;
  width:100%!important;
}

#tab-operation .a41-joint-history-box{
  position:absolute;
  left:8px;
  right:8px;
  bottom:8px;
  z-index:800;
  display:none;
  padding:8px;
  background:rgba(8,13,22,.96);
  border:1px solid rgba(242,101,34,.45);
  border-radius:9px;
  box-shadow:0 10px 28px rgba(0,0,0,.55);
}

#tab-operation .a41-joint-history-box.open{
  display:block;
}

#tab-operation .a41-joint-history-controls{
  display:grid;
  grid-template-columns:auto minmax(160px,1fr) auto;
  gap:7px;
  align-items:center;
}

#tab-operation .a41-joint-history-controls label{
  color:#ffb38d;
  font-size:8px;
  font-weight:900;
}

#tab-operation .a41-joint-history-controls select,
#tab-operation .a41-joint-history-controls button{
  height:30px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.14);
  background:#111827;
  color:#fff;
  font-size:8px;
  padding:0 8px;
}

#tab-operation .a41-joint-history-controls button{
  cursor:pointer;
  font-weight:900;
}

#tab-operation .a41-joint-history-info{
  margin-top:6px;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#cbd5e1;
  font-size:8px;
}

@media(max-width:700px){
  #tab-operation .a41-joint-history-controls{
    grid-template-columns:1fr;
  }

  #tab-operation .a41-joint-history-box{
    max-height:180px;
    overflow:auto;
  }
}

/* =========================================================
   SITE10 - ORTAK OPERASYON HARITA FINAL
   ========================================================= */

/* Tam ekran Leaflet butonu */
.a41-map-fullscreen-control a{
  width:30px;
  height:30px;
  line-height:30px;
  text-align:center;
  font-size:19px;
  font-weight:900;
  text-decoration:none;
  color:#222;
  background:#fff;
}

/* Katman kontrolü biraz daha okunaklı */
.a41-joint-map-overlay .leaflet-control-layers,
.a41-joint-map-overlay .leaflet-control-layers,
#tab-operation .leaflet-control-layers{
  font-size:11px;
  border-radius:5px;
}

.a41-joint-map-overlay .leaflet-control-layers-expanded,
.a41-joint-map-overlay .leaflet-control-layers-expanded,
#tab-operation .leaflet-control-layers-expanded{
  background:rgba(12,18,28,.96);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

/* GPS nokta popup içeriği */
.a41-history-point-popup{
  min-width:190px;
  font-size:11px;
  line-height:1.45;
}

.a41-history-point-popup>b{
  display:block;
  font-size:13px;
  margin-bottom:1px;
}

.a41-history-point-popup>small{
  display:block;
  opacity:.7;
}

.a41-history-point-popup>hr{
  border:0;
  border-top:1px solid #ddd;
  margin:6px 0;
}

.a41-history-point-popup>span{
  display:block;
  margin-top:3px;
}

/* Ortak operasyon harita karti tam ekran */
#tab-operation [data-a41-section="map"]:fullscreen{
  width:100vw!important;
  height:100vh!important;
  min-height:100vh!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  background:#080d16!important;
}

/* Firefox */
#tab-operation [data-a41-section="map"]:-moz-full-screen{
  width:100vw!important;
  height:100vh!important;
  max-height:none!important;
}

/* Tam ekranda kartın kendi başlığı */
#tab-operation [data-a41-section="map"]:fullscreen > header{
  height:42px;
  min-height:42px;
}

/* Tam ekranda harita wrapper */
#tab-operation [data-a41-section="map"]:fullscreen .a41-joint-live-wrap{
  height:calc(100vh - 42px)!important;
  grid-template-rows:42px minmax(0,1fr)!important;
}

/* Tam ekranda Leaflet alanı */
#tab-operation [data-a41-section="map"]:fullscreen #a41-joint-map{
  height:calc(100vh - 84px)!important;
  min-height:0!important;
  max-height:none!important;
}

/* Geçmiş kutusu tam ekranda da haritanın üstünde */
#tab-operation [data-a41-section="map"]:fullscreen .a41-joint-history-box{
  left:14px;
  right:14px;
  bottom:14px;
}

/* =========================================================
   SITE10 - TULPARS GENIS HARITA MODU
   ========================================================= */

body.a41-map-modal-open{
  overflow:hidden!important;
}

.a41-joint-map-overlay{
  position:fixed;
  inset:0;
  z-index:99990;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4vh 4vw;
  background:
    radial-gradient(circle at 50% 20%,rgba(242,101,34,.08),transparent 35%),
    rgba(2,6,12,.86);
  backdrop-filter:blur(5px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.a41-joint-map-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.a41-joint-map-overlay-title{
  position:absolute;
  top:3.2vh;
  left:5vw;
  right:5vw;
  height:48px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px 0 16px;
  border:1px solid rgba(242,101,34,.45);
  border-bottom:none;
  border-radius:12px 12px 0 0;
  background:
    linear-gradient(180deg,#121b29 0%,#0a111c 100%);
  box-shadow:0 -6px 30px rgba(0,0,0,.45);
}

.a41-joint-map-overlay-title b{
  display:block;
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.4px;
}

.a41-joint-map-overlay-title small{
  display:block;
  margin-top:2px;
  color:#f59c6c;
  font-size:9px;
}

.a41-joint-map-overlay-title button{
  width:32px;
  height:32px;
  padding:0;
  border:1px solid rgba(242,101,34,.52);
  border-radius:8px;
  background:rgba(242,101,34,.10);
  color:#ffb38d;
  font-size:23px;
  line-height:28px;
  font-weight:500;
  cursor:pointer;
}

.a41-joint-map-overlay-title button:hover{
  background:rgba(242,101,34,.24);
  color:#fff;
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded{
  position:absolute!important;
  top:calc(3.2vh + 48px)!important;
  left:5vw!important;
  width:90vw!important;
  height:88vh!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(242,101,34,.45)!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
  border-radius:0 0 12px 12px!important;
  background:#080e17!important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.72),
    0 0 32px rgba(242,101,34,.06)!important;
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded > header{
  display:none!important;
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-live-wrap{
  height:100%!important;
  grid-template-rows:44px minmax(0,1fr)!important;
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded #a41-joint-map{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-live-head{
  border-bottom:1px solid rgba(242,101,34,.25);
  background:
    linear-gradient(90deg,rgba(242,101,34,.09),rgba(10,17,28,.96) 28%);
}

.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-history-box{
  left:14px;
  right:14px;
  bottom:14px;
}

@media(max-width:800px){
  .a41-joint-map-overlay{
    padding:2vh 2vw;
  }

  .a41-joint-map-overlay-title{
    top:1.5vh;
    left:2.5vw;
    right:2.5vw;
  }

  .a41-joint-map-overlay
  [data-a41-section="map"].a41-map-expanded{
    top:calc(1.5vh + 48px)!important;
    left:2.5vw!important;
    width:95vw!important;
    height:91vh!important;
  }
}

/* =========================================================
   SITE10 - ORTAK OPERASYON HARITA GENIS MOD FINAL BOYUT
   ========================================================= */

/* Geniş modda kart gerçek yüksekliği tamamen kullansın */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded{
  display:flex!important;
  flex-direction:column!important;
  height:84vh!important;
  max-height:84vh!important;
  min-height:620px!important;
}

/* İç wrapper kalan alanı tamamen kaplasın */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-live-wrap{
  flex:1 1 auto!important;
  display:grid!important;
  grid-template-rows:44px minmax(0,1fr)!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}

/* Leaflet haritası kalan bütün alanı doldursun */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded #a41-joint-map,
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .leaflet-container{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  flex:1 1 auto!important;
}

/* Eski sabit 343 / 385 px kurallarını geniş modda ez */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-map,
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-map-box,
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-map-fake{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}

/* =========================================================
   SITE10 - TULPARS TEMALI GECMIS PANELI
   ========================================================= */

.a41-joint-map-overlay .a41-joint-history-box,
#tab-operation .a41-joint-history-box{
  padding:10px!important;
  background:
    linear-gradient(180deg,rgba(16,24,36,.98),rgba(7,12,20,.98))!important;
  border:1px solid rgba(242,101,34,.48)!important;
  border-radius:10px!important;
  box-shadow:
    0 14px 38px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(7px);
}

.a41-joint-map-overlay .a41-joint-history-controls,
#tab-operation .a41-joint-history-controls{
  display:grid!important;
  grid-template-columns:auto minmax(220px,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
}

.a41-joint-map-overlay .a41-joint-history-controls label,
#tab-operation .a41-joint-history-controls label{
  color:#f6a06f!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.35px!important;
  white-space:nowrap!important;
}

.a41-joint-map-overlay .a41-joint-history-controls select,
#tab-operation .a41-joint-history-controls select{
  height:32px!important;
  padding:0 10px!important;
  border:1px solid rgba(242,101,34,.28)!important;
  border-radius:7px!important;
  background:#0b1420!important;
  color:#f8fafc!important;
  font-size:9px!important;
  outline:none!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)!important;
}

.a41-joint-map-overlay .a41-joint-history-controls select:focus,
#tab-operation .a41-joint-history-controls select:focus{
  border-color:rgba(242,101,34,.72)!important;
  box-shadow:0 0 0 2px rgba(242,101,34,.10)!important;
}

.a41-joint-map-overlay .a41-joint-history-controls button,
#tab-operation .a41-joint-history-controls button{
  height:32px!important;
  padding:0 12px!important;
  border:1px solid rgba(242,101,34,.42)!important;
  border-radius:7px!important;
  background:rgba(242,101,34,.10)!important;
  color:#ffb184!important;
  font-size:8px!important;
  font-weight:900!important;
  cursor:pointer!important;
}

.a41-joint-map-overlay .a41-joint-history-controls button:hover,
#tab-operation .a41-joint-history-controls button:hover{
  background:rgba(242,101,34,.22)!important;
  color:#fff!important;
}

.a41-joint-map-overlay .a41-joint-history-info,
#tab-operation .a41-joint-history-info{
  margin-top:8px!important;
  padding:8px 9px!important;
  border-top:1px solid rgba(242,101,34,.16)!important;
  border-radius:6px!important;
  background:rgba(255,255,255,.022)!important;
  color:#cbd5e1!important;
  font-size:8px!important;
  line-height:1.45!important;
}

/* GEÇMİŞ açma butonu da tema ile uyumlu */
.a41-joint-map-overlay .a41-joint-history-toggle,
#tab-operation .a41-joint-history-toggle{
  border:1px solid rgba(242,101,34,.52)!important;
  background:
    linear-gradient(180deg,rgba(242,101,34,.16),rgba(242,101,34,.07))!important;
  color:#ffb184!important;
  border-radius:7px!important;
  font-weight:900!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}

.a41-joint-map-overlay .a41-joint-history-toggle:hover,
#tab-operation .a41-joint-history-toggle:hover{
  background:rgba(242,101,34,.24)!important;
  color:#fff!important;
}

@media(max-width:900px){
  .a41-joint-map-overlay
  [data-a41-section="map"].a41-map-expanded{
    min-height:0!important;
    height:86vh!important;
    max-height:86vh!important;
  }

  .a41-joint-map-overlay .a41-joint-history-controls,
  #tab-operation .a41-joint-history-controls{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   SITE10 - GENIS HARITA YERLESIM DUZELTMESI
   ========================================================= */

/* Başlık ve kart AYNI kenarlara otursun */
.a41-joint-map-overlay-title{
  top:2.5vh!important;
  left:3vw!important;
  right:3vw!important;
  width:auto!important;
  box-sizing:border-box!important;
}

/* Ana geniş harita kartı */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded{
  top:calc(2.5vh + 48px)!important;
  left:3vw!important;
  right:3vw!important;
  bottom:3vh!important;

  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;

  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}

/*
  KRITIK:
  Normal görünümde .a41-map-fake sabit yükseklik alıyordu.
  Geniş modda bu eleman tüm kalan alanı doldurmalı.
*/
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded > .a41-map-fake{
  position:relative!important;
  flex:1 1 auto!important;

  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;

  display:block!important;
  overflow:hidden!important;
  padding:0!important;
  margin:0!important;
  background:#08111d!important;
}

/* İç canlı harita yapısı */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded
.a41-map-fake > .a41-joint-live-wrap{
  position:absolute!important;
  inset:0!important;

  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;

  display:grid!important;
  grid-template-rows:44px minmax(0,1fr)!important;
  overflow:hidden!important;
}

/* Leaflet artık gerçekten kalan alanı tamamen doldurur */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded #a41-joint-map{
  position:relative!important;

  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;

  display:block!important;
  z-index:1!important;
}

/* Leaflet'in kendi container ölçüsünü de zorla */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded #a41-joint-map.leaflet-container{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}

/* Üst canlı harita çubuğu */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-live-head{
  position:relative!important;
  z-index:900!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
}

/* Geçmiş paneli haritanın üzerinde düzgün dursun */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-history-box{
  left:12px!important;
  right:12px!important;
  bottom:12px!important;
  width:auto!important;
  box-sizing:border-box!important;
  z-index:1000!important;
}

/* Geçmiş paneli açıkken maksimum makul yükseklik */
.a41-joint-map-overlay
[data-a41-section="map"].a41-map-expanded .a41-joint-history-box.open{
  max-height:170px!important;
  overflow:auto!important;
}

/* Sağ üst X ve başlık aynı eksende */
.a41-joint-map-overlay-title button{
  flex:0 0 32px!important;
  margin-left:12px!important;
}

/* Mobil */
@media(max-width:800px){
  .a41-joint-map-overlay-title{
    top:1.5vh!important;
    left:2vw!important;
    right:2vw!important;
  }

  .a41-joint-map-overlay
  [data-a41-section="map"].a41-map-expanded{
    top:calc(1.5vh + 48px)!important;
    left:2vw!important;
    right:2vw!important;
    bottom:2vh!important;
  }
}

/* ===== ORTAK OPERASYON HARITA AYIR BUTONU ===== */

.a41-joint-map-head-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.a41-joint-map-detach{
  height:30px;
  padding:0 10px;
  border:1px solid rgba(59,130,246,.48);
  border-radius:7px;
  background:rgba(59,130,246,.10);
  color:#9cc8ff;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}

.a41-joint-map-detach:hover{
  background:rgba(59,130,246,.22);
  color:#fff;
}


/* ===== HARITA AYRILINCA ANA PANEL YERLESIMI ===== */

#tab-operation.a41-map-detached .a41-first-image-grid{
  width:min(1120px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;

  grid-template-columns:minmax(340px,1fr) minmax(340px,1fr)!important;

  grid-template-areas:
    "people open"
    "timeline timeline"
    "history history"!important;
}

#tab-operation.a41-map-detached .a41-first-map,
#tab-operation.a41-map-detached [data-a41-section="map"]{
  display:none!important;
}

#tab-operation.a41-map-detached .a41-op-stats.a41-info-compact{
  width:min(1120px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:900px){
  #tab-operation.a41-map-detached .a41-first-image-grid{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "people"
      "open"
      "timeline"
      "history"!important;
  }
}

/* ===== CANLI OPERASYON HARITA DAMLA MARKER ===== */

.a41-live-pin-wrap{
  background:transparent!important;
  border:none!important;
}

.a41-live-pin{
  position:relative;
  width:26px;
  height:26px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:linear-gradient(180deg,#ff7a2f 0%,#f04b17 100%);
  border:2px solid rgba(255,255,255,.92);
  box-shadow:
    0 6px 16px rgba(0,0,0,.45),
    0 0 0 2px rgba(240,75,23,.18);
}

.a41-live-pin::after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:10px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:#fff;
}

.a41-live-pin::before{
  content:'';
  position:absolute;
  inset:-3px;
  border-radius:50% 50% 50% 0;
  border:1px solid rgba(255,184,120,.55);
  opacity:.9;
}


/* A44 AUTH - TULPARS LOGIN THEME */
#login-screen{
    background:
        radial-gradient(circle at top, rgba(242,101,34,.14), transparent 36%),
        rgba(7,11,18,.97);
}

.tcc-login-box{
    width:min(420px,calc(100vw - 32px));
    padding:28px;
    border:1px solid rgba(242,101,34,.38);
    border-radius:18px;
    background:rgba(13,19,29,.94);
    box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.03) inset;
    backdrop-filter:blur(16px);
}

.tcc-login-kicker{
    text-align:center;
    color:#f26522;
    font-size:11px;
    font-weight:900;
    letter-spacing:1.8px;
    margin-bottom:5px;
}

.tcc-login-box h2{
    margin:0 0 24px;
    color:#fff;
    text-align:center;
    font-size:22px;
    letter-spacing:.5px;
}

.tcc-login-label{
    display:block;
    margin:13px 0 6px;
    color:#8f9bab;
    font-size:10px;
    font-weight:900;
    letter-spacing:1px;
}

.tcc-login-box input,
.tcc-login-select{
    width:100%;
    box-sizing:border-box;
    height:44px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:9px;
    background:#0b111b;
    color:#fff;
    outline:none;
    font-size:14px;
}

.tcc-login-select{
    font-weight:800;
    text-transform:uppercase;
    cursor:pointer;
}

.tcc-login-box input:focus,
.tcc-login-select:focus{
    border-color:#f26522;
    box-shadow:0 0 0 3px rgba(242,101,34,.12);
}

.tcc-login-remember{
    display:flex;
    align-items:center;
    gap:9px;
    margin:16px 1px 18px;
    color:#c7ced8;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    user-select:none;
}

.tcc-login-remember input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.tcc-login-check{
    width:18px;
    height:18px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:5px;
    background:#0b111b;
    position:relative;
    flex:none;
}

.tcc-login-remember input:checked + .tcc-login-check{
    background:#f26522;
    border-color:#f26522;
}

.tcc-login-remember input:checked + .tcc-login-check:after{
    content:'✓';
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:13px;
    font-weight:900;
}

.tcc-login-submit{
    width:100%;
    height:45px;
    border:0;
    border-radius:9px;
    background:#f26522;
    color:#fff;
    font-weight:900;
    letter-spacing:.6px;
    cursor:pointer;
}

.tcc-login-submit:hover{
    filter:brightness(1.08);
}

.tcc-login-note{
    margin-top:12px;
    text-align:center;
    color:#697586;
    font-size:10px;
}

/* ===== A45 UI hardening / light theme readability ===== */
.a45-institution-title{font-size:13px;font-weight:800;letter-spacing:.8px;color:var(--accent);margin-top:2px}
.a45-account-card{max-width:760px;margin:0 auto 18px;padding:18px;border:1px solid var(--border-color);border-radius:12px;background:var(--panel-bg)}
.a45-account-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.a45-account-head small{display:block;color:var(--text-muted);margin-top:4px}.a45-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.a45-account-grid label{font-size:12px;color:var(--text-muted);font-weight:700}.a45-account-grid input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:10px;border-radius:7px;border:1px solid var(--border-color);background:var(--input-bg,#0b111b);color:var(--text-color,#fff)}.a45-account-save{display:block;margin:14px auto 0;padding:10px 22px;font-weight:800}
.a36-task-nav-btn{background:rgba(255,255,255,.09)!important;color:var(--text-color)!important;border:1px solid var(--border-color)!important}.a36-task-nav-btn.active{background:var(--accent)!important;color:#fff!important}
html[data-tcc-theme="light"] .tab-content,html[data-tcc-theme="light"] #tab-tasks{background:#eef3f8!important;color:#1b2a3a!important}html[data-tcc-theme="light"] .a36-task-nav-btn{background:#f8fbff!important;color:#32465a!important;border-color:#cbd7e3!important}html[data-tcc-theme="light"] .a36-task-nav-btn.active{background:var(--accent)!important;color:#fff!important}html[data-tcc-theme="light"] h2,html[data-tcc-theme="light"] h3,html[data-tcc-theme="light"] b{color:#172433}html[data-tcc-theme="light"] .modal-content,html[data-tcc-theme="light"] .a45-account-card{background:#fff;color:#172433}html[data-tcc-theme="light"] input,html[data-tcc-theme="light"] select,html[data-tcc-theme="light"] textarea{background:#fff!important;color:#172433!important;border-color:#bcc9d6!important}
@media(max-width:700px){.a45-account-grid{grid-template-columns:1fr}}
\n\n/* ===== A45.1 light theme contrast pass ===== */
html[data-tcc-theme="light"]{--bg-color:#e3e9f0;--panel-bg:#f8fafc;--border-color:#9eafc1;--text-main:#122033;--text-muted:#4f6073}
html[data-tcc-theme="light"] body{background:#e3e9f0!important;color:#122033!important}
html[data-tcc-theme="light"] .tabs,html[data-tcc-theme="light"] .panel-header,html[data-tcc-theme="light"] .a36-task-subnav{background:#edf2f7!important;border-color:#aebccc!important}
html[data-tcc-theme="light"] .tab-btn{color:#40536a!important;border-right:1px solid #c0cad5!important}
html[data-tcc-theme="light"] .tab-btn.active{background:#dce6f0!important;color:#18283b!important;box-shadow:inset 0 -3px 0 var(--accent)!important}
html[data-tcc-theme="light"] .a36-task-nav-btn{background:#e5ebf2!important;color:#2d4055!important;border:1px solid #9fb0c2!important;box-shadow:0 1px 2px rgba(30,50,70,.08)!important}
html[data-tcc-theme="light"] .a36-task-nav-btn:hover{background:#d8e2ec!important}
html[data-tcc-theme="light"] .a36-task-nav-btn.active,html[data-tcc-theme="light"] .a36-task-nav-btn.danger-active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
html[data-tcc-theme="light"] .a37-task-panel,html[data-tcc-theme="light"] #evt-panel-cevrim,html[data-tcc-theme="light"] #evt-panel-etkinlik,html[data-tcc-theme="light"] #evt-panel-gorev,html[data-tcc-theme="light"] #evt-panel-gecmis>div{background:#f7f9fc!important;border:1px solid #aab9c9!important;box-shadow:0 2px 7px rgba(30,52,74,.08)!important}
html[data-tcc-theme="light"] .a39-room-card,html[data-tcc-theme="light"] .user-item,html[data-tcc-theme="light"] .a36-person-card,html[data-tcc-theme="light"] .tcc51-health-card,html[data-tcc-theme="light"] .a37-calendar-item,html[data-tcc-theme="light"] .a37-cal-day{background:#f9fbfd!important;border-color:#a7b6c6!important;box-shadow:0 2px 6px rgba(28,47,66,.08)!important}
html[data-tcc-theme="light"] .a39-room-card-head{background:#e8eef5!important;border-bottom:1px solid #b4c0cd!important}
html[data-tcc-theme="light"] small,html[data-tcc-theme="light"] label,html[data-tcc-theme="light"] .a37-calendar-head small,html[data-tcc-theme="light"] .a37-timeline-head small{color:#526579!important}
html[data-tcc-theme="light"] input,html[data-tcc-theme="light"] select,html[data-tcc-theme="light"] textarea{border:1px solid #97aabc!important;background:#fff!important;color:#122033!important;box-shadow:inset 0 1px 2px rgba(30,50,70,.05)!important}
html[data-tcc-theme="light"] .hamburger-dropdown,html[data-tcc-theme="light"] .modal-content{border:1px solid #9eafc1!important;box-shadow:0 16px 45px rgba(32,52,72,.22)!important}
.a45-account-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}.a45-account-actions .a45-account-save{width:auto;min-width:210px}.a45-google-calendar-card em{display:block;margin-top:8px;font-style:normal;font-size:11px;color:#d29922;font-weight:800}


/* ===== A45.2 LIGHT THEME STRONG CONTRAST ===== */
html[data-tcc-theme="light"]{
  --bg-color:#d8e0e8!important;
  --panel-bg:#f5f7fa!important;
  --border-color:#7f93a8!important;
  --text-main:#0e1b2a!important;
  --text-muted:#3d5064!important;
}
html[data-tcc-theme="light"] body{
  background:#d8e0e8!important;
  color:#0e1b2a!important;
}
html[data-tcc-theme="light"] .panel,
html[data-tcc-theme="light"] .tab-content,
html[data-tcc-theme="light"] .modal-content,
html[data-tcc-theme="light"] .a39-room-card,
html[data-tcc-theme="light"] .user-item,
html[data-tcc-theme="light"] .a36-person-card,
html[data-tcc-theme="light"] .tcc51-health-card,
html[data-tcc-theme="light"] .a45-account-card{
  background:#f7f9fb!important;
  border-color:#8397ab!important;
  box-shadow:0 2px 8px rgba(22,42,62,.13)!important;
}
html[data-tcc-theme="light"] .panel-header,
html[data-tcc-theme="light"] .tabs,
html[data-tcc-theme="light"] .a39-room-card-head,
html[data-tcc-theme="light"] .a36-task-subnav{
  background:#e1e7ed!important;
  border-color:#899caf!important;
}
html[data-tcc-theme="light"] .tab-btn,
html[data-tcc-theme="light"] .a36-task-nav-btn{
  color:#21374c!important;
  border-color:#91a3b5!important;
}
html[data-tcc-theme="light"] .a36-task-nav-btn{
  background:#dce4eb!important;
}
html[data-tcc-theme="light"] .a36-task-nav-btn:hover{
  background:#ccd7e1!important;
}
html[data-tcc-theme="light"] input,
html[data-tcc-theme="light"] select,
html[data-tcc-theme="light"] textarea{
  background:#ffffff!important;
  color:#0e1b2a!important;
  border:1px solid #7f93a8!important;
  box-shadow:inset 0 1px 2px rgba(20,40,60,.10)!important;
}
html[data-tcc-theme="light"] small,
html[data-tcc-theme="light"] label{
  color:#3d5064!important;
}


/* ===== A45.2 ACCOUNT SAVE FEEDBACK ===== */
.a45-account-card{
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.a45-account-card.a45-account-saving{
  background:rgba(46,160,67,.08)!important;
  border-color:rgba(46,160,67,.45)!important;
}
.a45-account-card.a45-account-saved{
  background:rgba(46,160,67,.14)!important;
  border-color:#2ea043!important;
  box-shadow:0 0 0 2px rgba(46,160,67,.10),0 4px 14px rgba(46,160,67,.12)!important;
}
.a45-account-card.a45-account-error{
  border-color:#d73a49!important;
}
html[data-tcc-theme="light"] .a45-account-card.a45-account-saving{
  background:#edf8ef!important;
}
html[data-tcc-theme="light"] .a45-account-card.a45-account-saved{
  background:#e3f4e7!important;
}

/* SITE11 PERSONEL FORM */
#personnel-modal textarea{
    width:100%;
    min-height:150px;
    padding:12px;
    box-sizing:border-box;
    resize:vertical;
    background:rgba(0,0,0,.5);
    border:1px solid var(--border-color);
    border-radius:8px;
    color:white;
    outline:none;
    font-family:inherit;
}
#personnel-modal textarea:focus{
    border-color:var(--accent);
    box-shadow:0 0 8px rgba(242,101,34,.3);
}


/* SITE11 — ORTAK OPERASYON SON MANDALLAR + AUTO PTT */
.a41-op-recent-strip{
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.20);
  border-radius:12px;
  background:rgba(15,23,42,.72);
}
.a41-op-recent-strip>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.a41-op-recent-strip>header>div{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
}
.a41-op-recent-strip>header b{
  font-size:12px;
  letter-spacing:.4px;
}
.a41-op-recent-strip>header small{
  opacity:.58;
  font-size:10px;
}
.a41-op-recent-strip>header>span{
  opacity:.65;
  font-size:10px;
  white-space:nowrap;
}
.a41-op-recent-list{
  display:flex;
  align-items:stretch;
  gap:7px;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:thin;
}
.a41-op-recent-item{
  flex:0 0 auto;
  min-width:132px;
  max-width:180px;
  padding:7px 10px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:9px;
  background:rgba(30,41,59,.78);
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.a41-op-recent-item:hover{
  border-color:rgba(56,189,248,.65);
  transform:translateY(-1px);
}
.a41-op-recent-item b,
.a41-op-recent-item small,
.a41-op-recent-item time{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.a41-op-recent-item b{
  font-size:11px;
  margin-bottom:2px;
}
.a41-op-recent-item small{
  font-size:10px;
  color:#7dd3fc;
}
.a41-op-recent-item time{
  margin-top:3px;
  font-size:9px;
  opacity:.58;
}
.a41-op-recent-empty{
  width:100%;
  padding:8px 4px;
  font-size:11px;
  opacity:.55;
}
.a41-op-auto-target{
  display:block;
  width:100%;
  margin-top:5px;
  padding:4px 7px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:6px;
  background:rgba(15,23,42,.65);
  color:#94a3b8;
  font-size:9px;
  cursor:pointer;
}
.a41-op-auto-target.active{
  border-color:rgba(34,197,94,.55);
  color:#86efac;
  background:rgba(20,83,45,.22);
}
@media(max-width:760px){
  .a41-op-recent-strip>header>div{
    display:block;
  }
  .a41-op-recent-strip>header small{
    display:block;
    margin-top:2px;
  }
  .a41-op-recent-item{
    min-width:120px;
  }
}


/* SITE11 — JO HERO STABLE TALKER SLOT */
/* Konuşan göstergesi açılıp kapanırken hero/grid yüksekliği ve PTT kontrolleri yer değiştirmez. */
@media(min-width:1501px){
  #tab-operation .a41-op-hero{
    display:grid!important;
    grid-template-columns:
      minmax(280px,1.15fr)
      auto
      minmax(300px,.72fr)
      minmax(600px,auto)!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    gap:15px!important;
    min-height:86px!important;
  }

  #tab-operation .a41-op-title{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
  }

  #tab-operation .a41-op-meta{
    grid-column:2!important;
    grid-row:1!important;
  }

  #tab-operation #a41-op-talker{
    grid-column:3!important;
    grid-row:1!important;
    align-self:center!important;
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    padding:8px 12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  #tab-operation .a41-op-actions{
    grid-column:4!important;
    grid-row:1!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    min-width:0!important;
  }
}

/* Orta genişlikte kontroller her zaman ikinci satırda kalır.
   Konuşma kutusunun açılması yine hiçbir şeyi aşağı itmez. */
@media(min-width:1001px) and (max-width:1500px){
  #tab-operation .a41-op-hero{
    display:grid!important;
    grid-template-columns:minmax(240px,1fr) auto minmax(300px,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:8px 14px!important;
  }

  #tab-operation .a41-op-title{
    grid-column:1!important;
    grid-row:1!important;
  }

  #tab-operation .a41-op-meta{
    grid-column:2!important;
    grid-row:1!important;
  }

  #tab-operation #a41-op-talker{
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    margin:0!important;
    padding:6px 10px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  #tab-operation .a41-op-actions{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
  }
}

/* Küçük ekranda taşmayı engelle. */
@media(max-width:1000px){
  #tab-operation #a41-op-talker{
    margin:0!important;
    box-sizing:border-box!important;
  }

  #tab-operation .a41-op-actions{
    flex-wrap:wrap!important;
  }
}


/* SITE11 — JO RECENT LIVE BREATH */
@keyframes a41JointLastPttBreath{
  0%,100%{
    border-color:rgba(34,197,94,.42);
    background:rgba(20,83,45,.18);
    box-shadow:0 0 4px rgba(34,197,94,.10);
  }
  50%{
    border-color:rgba(74,222,128,.95);
    background:rgba(20,83,45,.40);
    box-shadow:
      0 0 9px rgba(34,197,94,.42),
      0 0 18px rgba(34,197,94,.18);
  }
}

#a41-op-recent-list .a41-op-recent-item.is-latest{
  border-color:rgba(34,197,94,.68);
  background:rgba(20,83,45,.25);
  animation:a41JointLastPttBreath 1.8s ease-in-out infinite;
}

#a41-op-recent-list .a41-op-recent-item.is-latest b{
  color:#bbf7d0;
}

#a41-op-recent-list .a41-op-recent-item.is-latest small{
  color:#86efac;
}


/* SITE11 — JO DETACHED WINDOW VIEW */

.a41-op-detach{
  height:35px;
  padding:0 11px;
  border:1px solid rgba(34,197,94,.52)!important;
  border-radius:8px;
  background:rgba(20,83,45,.18)!important;
  color:#86efac!important;
  font-size:9px;
  font-weight:1000;
  cursor:pointer;
}

/* BENİ HATIRLA bilgi penceresi */
.a41-detach-info{
  position:fixed;
  inset:0;
  z-index:30000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  box-sizing:border-box;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(6px);
}

.a41-detach-info-box{
  position:relative;
  width:min(450px,94vw);
  padding:25px;
  box-sizing:border-box;
  border:1px solid rgba(168,85,247,.50);
  border-radius:15px;
  background:#0d1420;
  box-shadow:0 25px 70px rgba(0,0,0,.68);
  color:#e5e7eb;
  text-align:center;
}

.a41-detach-info-x{
  position:absolute;
  right:10px;
  top:7px;
  border:0;
  background:transparent;
  color:#94a3b8;
  font-size:25px;
  cursor:pointer;
}

.a41-detach-info-icon{
  font-size:40px;
  line-height:44px;
  color:#86efac;
}

.a41-detach-info-box h3{
  margin:7px 0 13px;
  color:#fff;
  font-size:18px;
}

.a41-detach-info-box p{
  margin:0;
  color:#d1d5db;
  font-size:12px;
  line-height:1.65;
}

.a41-detach-info-box p b{
  color:#86efac;
}

.a41-detach-info-box small{
  display:block;
  margin-top:12px;
  color:#94a3b8;
  font-size:9px;
  line-height:1.55;
}

.a41-detach-info-actions{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:19px;
  flex-wrap:wrap;
}

.a41-detach-info-actions button{
  min-height:35px;
  padding:0 14px;
  border:1px solid rgba(168,85,247,.45);
  border-radius:8px;
  background:rgba(168,85,247,.12);
  color:#e9d5ff;
  font-size:9px;
  font-weight:1000;
  cursor:pointer;
}

.a41-detach-info-actions button.danger{
  border-color:rgba(239,68,68,.48);
  background:rgba(127,29,29,.18);
  color:#fca5a5;
}

/* AYRI OPERASYON PENCERESİ */
html.tcc-joint-window,
html.tcc-joint-window body{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#080d14!important;
}

/* Normal panel üst alanlarını gizle */
html.tcc-joint-window .tcc51-top,
html.tcc-joint-window .tabs,
html.tcc-joint-window #tcc55-mobile-home,
html.tcc-joint-window #tcc55-mobile-bottom{
  display:none!important;
}

/* Ortak Operasyon haricindeki ana sayfaları gizle */
html.tcc-joint-window .tab-content:not(#tab-operation){
  display:none!important;
}

/* Operasyon ekranını pencereye tam oturt */
html.tcc-joint-window #tab-operation{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:calc(100vh - 46px)!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:12px 14px 30px!important;
  box-sizing:border-box!important;
  overflow:auto!important;
}

/* Ayrı ekran üst bandı */
.a41-detached-bar{
  width:100%;
  height:46px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:6px 14px;
  border-bottom:1px solid rgba(168,85,247,.38);
  background:linear-gradient(
    90deg,
    #090f18 0%,
    rgba(76,29,149,.34) 52%,
    #090f18 100%
  );
  color:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.25);
}

.a41-detached-bar>div{
  min-width:0;
}

.a41-detached-bar b{
  display:block;
  color:#fff;
  font-size:12px;
  letter-spacing:.3px;
}

.a41-detached-bar span{
  display:block;
  margin-top:2px;
  color:#c4b5fd;
  font-size:8px;
  font-weight:800;
}

.a41-detached-bar button{
  flex:0 0 auto;
  height:31px;
  padding:0 11px;
  border:1px solid rgba(239,68,68,.42);
  border-radius:7px;
  background:rgba(127,29,29,.16);
  color:#fca5a5;
  font-size:8px;
  font-weight:1000;
  cursor:pointer;
}

/* Ayrı ekranın içinde tekrar pencere açma butonu görünmesin */
html.tcc-joint-window .a41-op-detach{
  display:none!important;
}

/* Büyük monitörde alanı daha rahat kullan */
@media(min-width:1501px){
  html.tcc-joint-window #tab-operation .a41-op-hero{
    grid-template-columns:
      minmax(290px,1.15fr)
      auto
      minmax(300px,.72fr)
      minmax(520px,auto)!important;
  }

  html.tcc-joint-window #tab-operation .a41-first-image-grid{
    width:100%!important;
  }
}


/* SITE11 — JO PTT VISUAL STATES V13 */

#tab-operation #a41-op-mic.jo-ptt-pending{
  background:radial-gradient(circle,#f59e0b,#92400e)!important;
  border-color:#fbbf24!important;
  color:#fff!important;
  box-shadow:0 0 22px rgba(245,158,11,.65)!important;
  transform:scale(.97)!important;
}

#tab-operation #a41-op-mic.jo-ptt-active{
  background:radial-gradient(circle,#22c55e,#15803d)!important;
  border-color:#4ade80!important;
  color:#fff!important;
  box-shadow:0 0 26px rgba(34,197,94,.75)!important;
  transform:scale(.96)!important;
}

#tab-operation #a41-op-mic.jo-ptt-release{
  background:radial-gradient(circle,#f59e0b,#78350f)!important;
  border-color:#fbbf24!important;
  color:#fff!important;
  box-shadow:0 0 18px rgba(245,158,11,.45)!important;
  transform:scale(1)!important;
}


/* SITE12 ACTIVITY REPORT UI SIZE V1 */
#activity-report-area > div:first-child > div:nth-child(3) label{
    font-size:15px !important;
    font-weight:800 !important;
    color:#f3f6fb !important;
    line-height:1.3 !important;
}

#activity-report-area input[type="datetime-local"],
#activity-report-area input[type="text"],
#activity-report-area select{
    min-height:38px !important;
    padding:7px 10px !important;
    font-size:14px !important;
    font-weight:700 !important;
    background:#151a22 !important;
    color:#fff !important;
    border:1px solid #7b8490 !important;
    border-radius:4px !important;
    box-sizing:border-box !important;
    width:100% !important;
    margin-top:5px !important;
}

#activity-report-area > div:first-child > div:nth-child(4) button{
    min-height:38px !important;
    padding:8px 14px !important;
    font-size:13px !important;
    font-weight:900 !important;
    border-radius:5px !important;
}

#activity-report-summary{
    font-size:15px !important;
    font-weight:900 !important;
    margin-top:14px !important;
}

/* CUSTOM_MODAL_TOP_LAYER_V1 */
#custom-modal-overlay{
    position:fixed !important;
    inset:0 !important;
    z-index:2147483646 !important;
    background:rgba(0,0,0,.78) !important;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    isolation:isolate;
}

#custom-modal-overlay > div{
    border:1px solid rgba(242,101,34,.60) !important;
    border-radius:16px !important;
    background:#0d1117 !important;
    box-shadow:0 25px 80px rgba(0,0,0,.65) !important;
}

#custom-modal-title{
    color:#f26522 !important;
    font-weight:900 !important;
}

#custom-modal-message{
    color:#dce5ef !important;
    line-height:1.6 !important;
}

#custom-modal-btn-ok{
    background:#f26522 !important;
    border-color:#f26522 !important;
    color:#fff !important;
    font-weight:900 !important;
}

#custom-modal-btn-cancel{
    background:#161b22 !important;
    border:1px solid #47515e !important;
    color:#dce5ef !important;
    font-weight:800 !important;
}


/* HARICI_APPLICATION_BUTTONS_V1 */
.harici-app-action-btn{
    min-width:138px;
    height:44px;
    padding:0 18px;
    border-radius:11px;
    font-size:13px;
    font-weight:900;
    letter-spacing:.35px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease,
        filter .15s ease;
}

.harici-app-action-btn span{
    font-size:17px;
    line-height:1;
}

.harici-app-reject-btn{
    color:#ff8a84;
    border:1px solid rgba(248,81,73,.70);
    background:linear-gradient(
        180deg,
        rgba(248,81,73,.16),
        rgba(248,81,73,.07)
    );
    box-shadow:inset 0 0 0 1px rgba(248,81,73,.05);
}

.harici-app-reject-btn:hover{
    color:#fff;
    border-color:#f85149;
    background:linear-gradient(
        180deg,
        rgba(248,81,73,.34),
        rgba(248,81,73,.17)
    );
    box-shadow:0 7px 20px rgba(248,81,73,.18);
    transform:translateY(-1px);
}

.harici-app-approve-btn{
    color:#fff;
    border:1px solid #3fb950;
    background:linear-gradient(
        180deg,
        #2ea043,
        #238636
    );
    box-shadow:
        0 5px 16px rgba(46,160,67,.22),
        inset 0 1px 0 rgba(255,255,255,.12);
}

.harici-app-approve-btn:hover{
    filter:brightness(1.12);
    box-shadow:
        0 8px 22px rgba(46,160,67,.30),
        inset 0 1px 0 rgba(255,255,255,.16);
    transform:translateY(-1px);
}

.harici-app-action-btn:active{
    transform:translateY(0);
}

.harici-app-action-btn:focus-visible{
    outline:3px solid rgba(242,101,34,.30);
    outline-offset:2px;
}

.harici-app-action-btn:disabled{
    opacity:.55;
    cursor:not-allowed;
    transform:none;
}

/* ===== A47 EVRAK MERKEZI ===== */
.a47-doc-page{padding:20px;overflow-y:auto;flex:1;background:var(--bg-color);color:var(--text-main)}
.a47-doc-head{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1180px;margin:0 auto 14px;padding:18px 20px;border:1px solid var(--border-color);border-radius:12px;background:var(--panel-bg)}
.a47-doc-head small{color:var(--accent);font-weight:900;letter-spacing:.6px}.a47-doc-head h2{margin:5px 0 3px}.a47-doc-head p{margin:0;color:var(--text-muted)}
.a47-doc-head button.primary,.a47-doc-actions button{border:0;border-radius:8px;background:var(--accent);color:#fff;font-weight:900;padding:10px 15px;cursor:pointer}.a47-doc-actions button.ghost{background:transparent;color:var(--text-main);border:1px solid var(--border-color)}
.a47-doc-upload,.a47-doc-toolbar,.a47-doc-list,.a47-doc-history{max-width:1180px;margin:0 auto 14px}.a47-doc-upload{padding:16px;border:1px solid var(--border-color);border-radius:12px;background:var(--panel-bg)}
.a47-doc-grid{display:grid;grid-template-columns:1fr 240px;gap:12px}.a47-doc-grid label{display:flex;flex-direction:column;gap:6px;color:var(--text-muted);font-size:12px;font-weight:800}.a47-doc-grid label.wide{grid-column:1/-1}.a47-doc-grid input,.a47-doc-grid select,.a47-doc-grid textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid var(--border-color);border-radius:7px;background:var(--bg-color);color:var(--text-main)}
.a47-doc-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.a47-doc-actions span{color:var(--text-muted);font-size:12px}
.a47-doc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.a47-doc-toolbar label{display:flex;align-items:center;gap:7px;flex:1;max-width:560px;padding:8px 10px;border:1px solid var(--border-color);border-radius:9px;background:var(--panel-bg)}.a47-doc-toolbar input{flex:1;border:0;outline:0;background:transparent;color:var(--text-main)}.a47-doc-toolbar span{color:var(--text-muted);font-weight:800}
.a47-doc-list{display:grid;gap:10px}.a47-doc-card{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--border-color);border-radius:11px;background:var(--panel-bg)}.a47-doc-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:rgba(88,166,255,.10);font-size:22px}.a47-doc-title{font-weight:900;font-size:15px}.a47-doc-meta,.a47-doc-main small{margin-top:4px;color:var(--text-muted);font-size:11px}.a47-doc-notes{margin-top:7px;font-size:12px;white-space:pre-wrap}.a47-doc-card-actions{display:flex;gap:6px}.a47-doc-card-actions button{padding:8px 10px;border:1px solid var(--border-color);border-radius:7px;background:transparent;color:var(--text-main);font-weight:800;cursor:pointer}.a47-doc-card-actions button.danger{color:#ef4444;border-color:rgba(239,68,68,.38)}
.a47-doc-empty{padding:28px;text-align:center;border:1px dashed var(--border-color);border-radius:10px;color:var(--text-muted);background:var(--panel-bg)}.a47-doc-empty.err{color:#ef4444}.a47-doc-history{padding:10px 14px;border:1px solid var(--border-color);border-radius:10px;background:var(--panel-bg)}.a47-doc-history summary{cursor:pointer;font-weight:900}.a47-doc-hist-row{display:grid;grid-template-columns:80px 1fr auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-color);font-size:12px}.a47-doc-hist-row:last-child{border-bottom:0}.a47-doc-hist-row small{color:var(--text-muted)}
@media(max-width:760px){.a47-doc-page{padding:10px}.a47-doc-head{align-items:flex-start;flex-direction:column}.a47-doc-grid{grid-template-columns:1fr}.a47-doc-grid label.wide{grid-column:auto}.a47-doc-card{grid-template-columns:40px 1fr}.a47-doc-card-actions{grid-column:1/-1;justify-content:flex-end}.a47-doc-hist-row{grid-template-columns:1fr}.a47-doc-toolbar{align-items:stretch;flex-direction:column}.a47-doc-toolbar label{max-width:none}}
.a26-offline-row.expired{border-left-color:#8b949e;background:rgba(139,148,158,.07)}
.a26-offline-row.expired .a26-offline-row-head span{color:#aab4c0}
