*,::after,::before{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,sans-serif;background:linear-gradient(135deg,#f0f4ff 0,#e0e7ff 100%);min-height:100vh;color:#1f2937}.container{max-width:1100px;margin:0 auto;padding:0 16px}.header{background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100;padding:12px 0}.header-inner{display:flex;align-items:center;justify-content:space-between}.logo{display:flex;align-items:center;gap:10px;text-decoration:none}.logo-box{width:40px;height:40px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:18px}.logo-text{font-weight:700;font-size:18px;color:#1f2937}.header-link{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border-radius:20px;text-decoration:none;color:#4f46e5;font-weight:600;font-size:14px;box-shadow:0 2px 8px rgba(0,0,0,.08)}.badge{background:#e0e7ff;color:#4338ca;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:700}.welcome{text-align:center;padding:60px 20px}.welcome-icon{font-size:64px;margin-bottom:20px}.welcome h1{font-size:32px;font-weight:800;color:#1f2937;margin-bottom:12px}.welcome p{font-size:18px;color:#6b7280;margin-bottom:32px}.tool-selector{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:1100px;margin:0 auto;padding:16px 16px 40px}.tool-btn{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 22px;background:#fff;border:2px solid #e5e7eb;border-radius:20px;cursor:pointer;transition:all .3s cubic-bezier(.4, 0, .2, 1);min-width:105px;overflow:hidden}.tool-btn::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(99,102,241,.05),rgba(139,92,246,.08));opacity:0;transition:opacity .3s}.tool-btn:hover::before{opacity:1}.tool-btn:hover{border-color:#a5b4fc;transform:translateY(-4px) scale(1.02);box-shadow:0 12px 28px rgba(99,102,241,.15),0 4px 10px rgba(0,0,0,.08)}.tool-btn:hover .icon{transform:scale(1.15)}.tool-btn.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff 0,#e0e7ff 50%,#c7d2fe 100%);box-shadow:0 0 0 4px rgba(99,102,241,.15),0 8px 24px rgba(99,102,241,.25);transform:scale(1.02)}.tool-btn.active::before{opacity:0}.tool-btn.active::after{content:'✓';position:absolute;top:6px;right:6px;width:20px;height:20px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:50%;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;animation:checkPop .3s cubic-bezier(.34,1.56,.64,1)}@keyframes checkPop{0%{transform:scale(0)}100%{transform:scale(1)}}.tool-btn.active .icon{animation:iconBounce .5s ease}@keyframes iconBounce{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}.tool-btn.active .label{color:#4f46e5}.tool-btn .icon{font-size:32px;transition:transform .3s cubic-bezier(.4, 0, .2, 1);position:relative;z-index:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.tool-btn .label{font-weight:700;font-size:12px;color:#374151;transition:color .3s;position:relative;z-index:1;text-align:center;line-height:1.3}main{padding:24px 0}.section{margin-bottom:24px;display:none}.section.visible{display:block}.card{background:#fff;border-radius:20px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}.card-header{padding:20px 24px;color:#fff;display:flex;align-items:center;justify-content:space-between}.card-header.indigo{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.card-header.orange{background:linear-gradient(135deg,#f97316,#ec4899)}.card-header.purple{background:linear-gradient(135deg,#8b5cf6,#6366f1)}.card-header.green{background:linear-gradient(135deg,#10b981,#14b8a6)}.card-header.red{background:linear-gradient(135deg,#f43f5e,#f97316)}.card-header.amber{background:linear-gradient(135deg,#f59e0b,#f97316)}.card-header.cyan{background:linear-gradient(135deg,#06b6d4,#3b82f6)}.card-header.pink{background:linear-gradient(135deg,#ec4899,#f43f5e)}.card-header.teal{background:linear-gradient(135deg,#14b8a6,#10b981)}.card-header.slate{background:linear-gradient(135deg,#475569,#1e293b)}.card-header.yellow{background:linear-gradient(135deg,#eab308,#f59e0b)}.card-header.rose{background:linear-gradient(135deg,#e11d48,#be123c)}.card-header.sky{background:linear-gradient(135deg,#0ea5e9,#06b6d4)}.card-header.lime{background:linear-gradient(135deg,#84cc16,#22c55e)}.card-header.violet{background:linear-gradient(135deg,#7c3aed,#8b5cf6)}.card-header h2{font-size:20px;font-weight:700}.card-header p{opacity:.9;margin-top:4px;font-size:13px}.card-header .header-actions{display:flex;gap:6px}.card-header .header-btn{background:rgba(255,255,255,.2);border:none;color:#fff;width:36px;height:36px;border-radius:10px;cursor:pointer;font-size:18px;transition:all .2s}.card-header .header-btn:hover{background:rgba(255,255,255,.3)}.card-header .header-btn:disabled{opacity:.3;cursor:not-allowed}.card-body{padding:24px}.grid-2{display:grid;grid-template-columns:1fr;gap:24px}@media screen and (min-width:768px){.grid-2{grid-template-columns:1fr 1fr}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:12px;font-weight:700;font-size:16px;border:none;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}.btn:hover{transform:translateY(-2px)}.btn-indigo{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.btn-orange{background:linear-gradient(135deg,#f97316,#ec4899);color:#fff}.btn-purple{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}.btn-green{background:linear-gradient(135deg,#10b981,#14b8a6);color:#fff}.btn-amber{background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff}.btn-cyan{background:linear-gradient(135deg,#06b6d4,#3b82f6);color:#fff}.btn-pink{background:linear-gradient(135deg,#ec4899,#f43f5e);color:#fff}.btn-teal{background:linear-gradient(135deg,#14b8a6,#10b981);color:#fff}.btn-gray{background:#f3f4f6;color:#4b5563}.btn-red{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.btn-sm{padding:10px 16px;font-size:13px}.btn-full{width:100%}.form-group{margin-bottom:16px}.form-label{display:block;font-weight:600;color:#6b7280;margin-bottom:8px;font-size:13px}.form-input,.form-textarea{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;font-family:inherit;transition:border-color .2s;background:#f9fafb}.form-input:focus,.form-textarea:focus{outline:2px solid transparent;border-color:#a5b4fc;background:#fff}.frise-input{width:100%;padding:10px 12px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;outline:0;transition:border-color .2s}.frise-input:focus{border-color:#f59e0b}.form-textarea{resize:none;min-height:100px}.radio-option{display:block;padding:14px 16px;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;margin-bottom:10px;background:#f9fafb;transition:all .2s}.radio-option:hover{border-color:#c7d2fe}.radio-option.green{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0}.radio-option input{margin-right:10px}.radio-option span{font-weight:600;font-size:14px}.timer-wrap{display:flex;flex-direction:column;align-items:center}.timer-container{position:relative;width:240px;height:240px;margin-bottom:20px}.timer-svg{width:100%;height:100%;transform:rotate(-90deg)}.timer-bg{fill:none;stroke:#e5e7eb;stroke-width:8}.timer-progress{fill:none;stroke:#6366f1;stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset 1s linear,stroke .3s}.timer-progress.warning{stroke:#f59e0b}.timer-progress.danger{stroke:#ef4444}.timer-display{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.timer-time{font-size:48px;font-weight:800;color:#1f2937}.timer-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.timer-preset{padding:10px 14px;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.timer-preset.active,.timer-preset:hover{background:#eef2ff;border-color:#a5b4fc;color:#4f46e5}.timer-actions{display:flex;gap:10px}.result-box{background:linear-gradient(135deg,#f97316,#ec4899);border-radius:20px;padding:40px;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center}.result-box .icon{font-size:64px;margin-bottom:12px}.result-box .text{font-size:16px;opacity:.9}.result-box .winner{font-size:40px;font-weight:800}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}.float{animation:float 2s ease-in-out infinite}.wheel-wrap{display:flex;flex-direction:column;align-items:center}.wheel-box{position:relative;margin-bottom:20px}.wheel-pointer{position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-size:28px;z-index:10}.wheel-canvas{border-radius:50%;box-shadow:0 6px 24px rgba(0,0,0,.15)}.wheel-result{font-size:24px;font-weight:700;color:#7c3aed;margin-top:16px;text-align:center}.wheel-tracker{margin-top:16px}.wheel-tracker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.wheel-tracker-header span{font-size:13px;font-weight:600;color:#6b7280}.wheel-tracker-progress{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden;margin-bottom:10px}.wheel-tracker-bar{height:100%;background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:3px;transition:width .4s ease}.wheel-tracker-list{display:flex;flex-wrap:wrap;gap:6px}.wheel-tracker-chip{padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;transition:all .3s}.wheel-tracker-chip.pending{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.wheel-tracker-chip.passed{background:#e5e7eb;color:#9ca3af;text-decoration:line-through;border:1px solid #d1d5db;opacity:.6}.wheel-tracker-reset{padding:4px 10px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;font-size:12px;cursor:pointer;color:#6b7280;transition:all .2s}.wheel-tracker-reset:hover{border-color:#7c3aed;color:#7c3aed}.wheel-winner-overlay{position:fixed;inset:0;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:10000;opacity:0;visibility:hidden;transition:all .3s}.wheel-winner-overlay.visible{opacity:1;visibility:visible}.wheel-winner-modal{background:linear-gradient(145deg,#fff,#f8fafc);border-radius:32px;padding:48px 64px;text-align:center;transform:scale(.5);transition:transform .5s cubic-bezier(.34, 1.56, .64, 1);box-shadow:0 25px 80px rgba(124,58,237,.4);position:relative;overflow:hidden;max-width:90vw}.wheel-winner-overlay.visible .wheel-winner-modal{transform:scale(1)}.wheel-winner-emoji{font-size:80px;margin-bottom:16px;animation:winnerBounce .6s ease infinite}.wheel-winner-label{font-size:18px;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:3px;margin-bottom:8px}.wheel-winner-name{font-size:56px;font-weight:900;background:linear-gradient(135deg,#7c3aed,#a855f7,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:24px;animation:winnerPulse 1.5s ease infinite;word-break:break-word}.wheel-winner-close{padding:14px 40px;background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff;border:none;border-radius:14px;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s}.wheel-winner-close:hover{transform:scale(1.05);box-shadow:0 8px 24px rgba(124,58,237,.4)}@keyframes winnerBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes winnerPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.02)}}.confetti-container{position:fixed;inset:0;pointer-events:none;z-index:10001;overflow:hidden}.confetti{position:absolute;width:12px;height:12px;top:-20px;animation:confettiFall linear forwards}.confetti.square{border-radius:2px}.confetti.circle{border-radius:50%}.confetti.star{clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}@keyframes confettiFall{0%{transform:translateY(0) rotate(0);opacity:1}100%{transform:translateY(100vh) rotate(720deg);opacity:0}}.group-btns{display:flex;gap:6px;margin-bottom:16px}.group-btn{flex:1;padding:12px;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:700;font-size:16px;cursor:pointer;transition:all .2s}.group-btn:hover{border-color:#a7f3d0}.group-btn.active{background:linear-gradient(135deg,#10b981,#14b8a6);color:#fff;border-color:transparent}.groups-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.group-card{border-radius:14px;padding:16px;color:#fff}.group-card h4{font-size:14px;font-weight:700;margin-bottom:10px}.group-card ul{list-style:none;font-size:13px}.group-card li{padding:3px 0}.group-card .count{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.2);font-size:12px;opacity:.8}.placeholder{grid-column:span 2;background:#f3f4f6;border:2px dashed #d1d5db;border-radius:14px;padding:40px;text-align:center;color:#9ca3af}.teams-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}@media screen and (min-width:768px){.teams-grid{grid-template-columns:repeat(4,1fr)}}.team-card{border-radius:16px;padding:20px;color:#fff;text-align:center}.team-card .name{font-weight:700;font-size:14px;margin-bottom:6px}.team-card .score{font-size:48px;font-weight:800;margin:12px 0}.team-card .actions{display:flex;justify-content:center;gap:10px}.score-btn{width:42px;height:42px;border-radius:50%;border:none;background:rgba(255,255,255,.2);color:#fff;font-size:20px;font-weight:700;cursor:pointer;transition:all .15s}.score-btn:hover{background:rgba(255,255,255,.3)}.teams-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding-top:16px;border-top:1px solid #e5e7eb}.podium-wrap{display:flex;flex-direction:column;align-items:center}.podium{display:flex;align-items:flex-end;justify-content:center;gap:12px;margin:32px 0}.podium-place{display:flex;flex-direction:column;align-items:center}.podium-avatar{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;color:#fff;margin-bottom:8px;box-shadow:0 4px 12px rgba(0,0,0,.2)}.podium-name{font-weight:700;font-size:16px;color:#1f2937;margin-bottom:8px;max-width:100px;text-align:center}.podium-block{width:100px;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;border-radius:12px 12px 0 0}.podium-place.first .podium-avatar{background:linear-gradient(135deg,#eab308,#f59e0b);width:100px;height:100px;font-size:40px}.podium-place.first .podium-block{height:120px;background:linear-gradient(135deg,#eab308,#f59e0b)}.podium-place.second .podium-avatar{background:linear-gradient(135deg,#9ca3af,#6b7280)}.podium-place.second .podium-block{height:90px;background:linear-gradient(135deg,#9ca3af,#6b7280)}.podium-place.third .podium-avatar{background:linear-gradient(135deg,#d97706,#b45309)}.podium-place.third .podium-block{height:60px;background:linear-gradient(135deg,#d97706,#b45309)}.podium-inputs{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.podium-input-group{display:flex;flex-direction:column;align-items:center;gap:8px}.podium-input-group label{font-weight:700;font-size:14px}.podium-input-group input{width:150px;padding:12px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;text-align:center}.podium-input-group.gold label{color:#eab308}.podium-input-group.gold input{border-color:#fde68a;background:#fefce8}.podium-input-group.silver label{color:#6b7280}.podium-input-group.bronze label{color:#d97706}.podium-input-group.bronze input{border-color:#fed7aa;background:#fff7ed}.dice-wrap{text-align:center}.dice-container{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:24px 0}.dice{font-size:64px}.dice-total{font-size:20px;font-weight:700;color:#4b5563;margin-bottom:20px}.dice-total span{color:#f59e0b}.dice-options{display:flex;justify-content:center;gap:10px;margin-bottom:20px}.dice-opt{padding:10px 20px;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.dice-opt.active{background:#f59e0b;color:#fff;border-color:transparent}.dice-custom-wrap{margin:16px auto;max-width:360px;text-align:left}.dice-custom-wrap .form-label{font-weight:600;font-size:13px;color:#6b7280;margin-bottom:6px;display:block}.dice-custom-faces{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.dice-custom-face{width:52px}.dice-custom-face input{width:100%;padding:6px;border:2px solid #e5e7eb;border-radius:8px;text-align:center;font-weight:600;font-size:14px}.dice-custom-chip{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:linear-gradient(135deg,#fef3c7,#fde68a);border:3px solid #f59e0b;border-radius:14px;font-size:22px;font-weight:800;color:#92400e;transition:transform .3s}.timer-bell-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;opacity:0;pointer-events:none;transition:opacity .3s}.timer-bell-overlay.visible{opacity:1;pointer-events:auto}.timer-bell-icon{font-size:120px;animation:bellRing .4s ease-in-out infinite alternate}.timer-bell-text{font-size:32px;font-weight:800;color:#fff;margin-top:16px;text-shadow:0 2px 8px rgba(0,0,0,.3)}.timer-bell-sub{font-size:18px;color:rgba(255,255,255,.8);margin-top:8px}.timer-bell-close{margin-top:24px;padding:12px 32px;background:#fff;border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;color:#1f2937}@keyframes bellRing{0%{transform:rotate(-15deg) scale(1)}100%{transform:rotate(15deg) scale(1.1)}}.chrono-lap .split{color:#9ca3af;font-size:13px;margin-left:8px}.clock-wrap{display:flex;flex-direction:column;align-items:center}.clock-main{position:relative;width:340px;height:340px;margin-bottom:20px}.clock-face{width:100%;height:100%;border-radius:50%;background:linear-gradient(145deg,#fff,#f0f0f0);border:8px solid #e5e7eb;position:relative;box-shadow:0 8px 32px rgba(0,0,0,.15);cursor:pointer}.clock-center{position:absolute;top:50%;left:50%;width:20px;height:20px;background:#1f2937;border-radius:50%;transform:translate(-50%,-50%);z-index:20}.clock-hand{position:absolute;bottom:50%;left:50%;transform-origin:bottom center;border-radius:4px}.clock-hour{width:8px;height:80px;background:#1f2937;margin-left:-4px;z-index:12}.clock-minute{width:6px;height:110px;background:#6366f1;margin-left:-3px;z-index:11}.clock-second{width:2px;height:120px;background:#ef4444;margin-left:-1px;z-index:13}.clock-number{position:absolute;font-weight:800;font-size:24px;color:#1f2937}.clock-minute-mark{position:absolute;background:#cbd5e1;transform-origin:center bottom}.clock-minute-mark.major{width:3px;height:15px;background:#64748b}.clock-minute-mark.minor{width:2px;height:8px}.clock-minute-number{position:absolute;font-size:11px;font-weight:600;color:#94a3b8}.clock-digital-wrap{display:flex;align-items:center;gap:16px;margin-top:16px}.clock-digital{font-size:56px;font-weight:800;color:#1f2937;background:#f1f5f9;padding:16px 32px;border-radius:16px;border:3px solid #e5e7eb}.clock-digital.hidden-answer{filter:blur(20px);user-select:none}.clock-toggle{padding:12px 20px;border:2px solid #e5e7eb;border-radius:12px;background:#f9fafb;font-weight:600;cursor:pointer}.clock-toggle.active{background:#6366f1;color:#fff;border-color:#6366f1}.clock-controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:20px}.clock-mode{display:flex;gap:8px;margin-bottom:16px}.clock-mode-btn{padding:10px 20px;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:600;cursor:pointer}.clock-mode-btn.active{background:linear-gradient(135deg,#06b6d4,#3b82f6);color:#fff;border-color:transparent}.clock-hint{background:#fef3c7;color:#92400e;padding:12px 20px;border-radius:12px;font-size:14px;margin-top:16px}.traffic-wrap{display:flex;flex-direction:column;align-items:center}.traffic-light{background:#1f2937;border-radius:30px;padding:20px;display:flex;flex-direction:column;gap:16px}.traffic-bulb{width:100px;height:100px;border-radius:50%;cursor:pointer;opacity:.3;border:4px solid rgba(255,255,255,.1)}.traffic-bulb.active{opacity:1;box-shadow:0 0 40px currentColor}.traffic-bulb.red{background:#ef4444;color:#ef4444}.traffic-bulb.orange{background:#f59e0b;color:#f59e0b}.traffic-bulb.green{background:#22c55e;color:#22c55e}.traffic-message{font-size:28px;font-weight:800;margin-top:24px;padding:16px 32px;border-radius:16px}.traffic-message.red{background:#fef2f2;color:#dc2626}.traffic-message.orange{background:#fffbeb;color:#d97706}.traffic-message.green{background:#f0fdf4;color:#16a34a}.text-display{background:#fff;border:3px solid #e5e7eb;border-radius:16px;padding:32px;min-height:200px;font-size:32px;font-weight:600;color:#1f2937;text-align:center;display:flex;align-items:center;justify-content:center}.text-display.large{font-size:48px}.text-display.xlarge{font-size:64px}.text-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.size-btn{padding:10px 20px;border:2px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:600;cursor:pointer}.size-btn.active{background:#6366f1;color:#fff;border-color:transparent}.sound-wrap{display:flex;flex-direction:column;align-items:center}.sound-meter{width:100%;max-width:400px;height:60px;background:#e5e7eb;border-radius:30px;overflow:hidden}.sound-level{height:100%;background:linear-gradient(90deg,#22c55e,#f59e0b,#ef4444);border-radius:30px;width:0%}.sound-value{font-size:64px;font-weight:800;margin:24px 0}.sound-value.green{color:#22c55e}.sound-value.orange{color:#f59e0b}.sound-value.red{color:#ef4444}.sound-status{font-size:24px;font-weight:700;padding:12px 32px;border-radius:12px}.sound-status.green{background:#f0fdf4;color:#16a34a}.sound-status.orange{background:#fffbeb;color:#d97706}.sound-status.red{background:#fef2f2;color:#dc2626}.consignes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}@media screen and (min-width:768px){.consignes-grid{grid-template-columns:repeat(4,1fr)}}.consigne-card{background:#f9fafb;border:3px solid #e5e7eb;border-radius:16px;padding:24px;text-align:center;cursor:pointer;transition:all .2s}.consigne-card:hover{border-color:#a5b4fc;transform:scale(1.02)}.consigne-card.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff)}.consigne-card .icon{font-size:48px;margin-bottom:12px}.consigne-card .label{font-weight:700;font-size:14px;color:#374151}.consigne-display{margin-top:24px;padding:60px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:20px;text-align:center;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.consigne-display .icon{font-size:120px;margin-bottom:20px}.consigne-display .label{font-size:48px;font-weight:800;color:#fff}.points-table{width:100%;border-collapse:collapse}.points-table td,.points-table th{padding:12px;text-align:center;border:2px solid #e5e7eb}.points-table th{background:#f3f4f6;font-weight:700}.points-table td{background:#fff}.points-table .name-cell{text-align:left;font-weight:600}.point-cell{width:50px;cursor:pointer;font-size:20px;transition:all .2s}.point-cell:hover{background:#eef2ff}.point-cell.checked{background:#dcfce7}.points-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.points-controls{align-items:center}#points-table-container{max-width:100%;overflow:auto}#points .points-table .name-cell{min-width:100px;white-space:nowrap}#points .points-table td{padding:4px}#points button.point-cell{width:44px;min-height:44px;border:0;border-radius:8px;background:#f5f7ff;color:#475569}#points button.point-cell.checked{background:#dcfce7;color:#166534}#points button.point-cell:focus-visible,.traffic-bulb:focus-visible{outline:3px solid #4338ca;outline-offset:3px}.tool-session-note{color:#64748b;font-size:13px;line-height:1.5;margin-top:12px}.podium-name{overflow-wrap:anywhere}@media screen and (max-width:440px){.podium{gap:8px;width:100%}.podium-place{flex:1;min-width:0}.podium-block{width:100%;min-width:70px}.podium-avatar{width:64px;height:64px}.podium-place.first .podium-avatar{width:76px;height:76px}}#points.section.fullscreen-mode .card-body{display:flex;flex-direction:column}#points.section.fullscreen-mode #points-table-container{flex:1;min-height:0}.schedule-container{display:flex;flex-direction:column;gap:12px}.schedule-item{display:flex;align-items:center;gap:16px;padding:16px;background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;transition:all .2s}.schedule-item.current{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0}.schedule-item.done{opacity:.5;text-decoration:line-through}.schedule-time{font-weight:800;font-size:18px;color:#6366f1;min-width:70px}.schedule-icon{font-size:32px}.schedule-label{font-weight:600;font-size:16px;flex:1}.schedule-actions{display:flex;gap:8px}.schedule-btn{width:36px;height:36px;border-radius:8px;border:none;cursor:pointer;font-size:16px}.schedule-templates{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.schedule-template{padding:8px 16px;border:2px solid #e5e7eb;border-radius:8px;background:#f9fafb;cursor:pointer;font-size:13px;font-weight:600}.schedule-template:hover{border-color:#a5b4fc}.melangeur-result{display:flex;flex-direction:column;gap:8px;margin-top:20px}.melangeur-item{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:2px solid #e5e7eb;border-radius:12px}.melangeur-rank{width:40px;height:40px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}.melangeur-name{font-weight:600;font-size:18px}@keyframes slideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}.melangeur-item{animation:slideIn .3s ease-out forwards}.date-wrap{text-align:center}.date-day{font-size:32px;font-weight:700;color:#6366f1;text-transform:capitalize;margin-bottom:8px}.date-full{font-size:48px;font-weight:800;color:#1f2937;margin-bottom:16px}.date-info{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:24px}.date-info-item{background:#f9fafb;border:2px solid #e5e7eb;border-radius:16px;padding:20px 32px;text-align:center}.date-info-item .icon{font-size:40px;margin-bottom:8px}.date-info-item .label{font-weight:700;font-size:16px;color:#374151}.meteo-grid{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}.meteo-btn{padding:16px 20px;border:3px solid #e5e7eb;border-radius:16px;background:#f9fafb;font-size:32px;cursor:pointer;transition:all .2s}.meteo-btn:hover{border-color:#a5b4fc;transform:scale(1.05)}.meteo-btn.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff)}.chrono-wrap{display:flex;flex-direction:column;align-items:center}.chrono-display{font-size:72px;font-weight:800;color:#1f2937;font-variant-numeric:tabular-nums;margin-bottom:24px}.chrono-ms{font-size:36px;color:#6b7280}.chrono-actions{display:flex;gap:12px}.chrono-laps{margin-top:24px;width:100%;max-width:300px}.chrono-lap{display:flex;justify-content:space-between;padding:10px 16px;background:#f9fafb;border-radius:8px;margin-bottom:6px;font-weight:600}.chrono-lap .num{color:#6366f1}.parole-wrap{text-align:center}.parole-display{background:linear-gradient(135deg,#8b5cf6,#6366f1);border-radius:24px;padding:48px;margin-bottom:24px}.parole-display .icon{font-size:64px;margin-bottom:16px}.parole-display .name{font-size:56px;font-weight:800;color:#fff}.parole-display .subtitle{font-size:18px;color:rgba(255,255,255,.8);margin-top:8px}.parole-display.empty{background:#f3f4f6}.parole-display.empty .icon{opacity:.3}.parole-display.empty .name{color:#9ca3af;font-size:24px}.parole-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}.parole-eleve{padding:12px 20px;border:2px solid #e5e7eb;border-radius:12px;background:#f9fafb;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.parole-eleve:hover{border-color:#a5b4fc;background:#eef2ff}.parole-eleve.active{border-color:#8b5cf6;background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#7c3aed}.random-wrap{text-align:center}.random-display{font-size:120px;font-weight:800;color:#6366f1;margin:32px 0;min-height:150px;display:flex;align-items:center;justify-content:center}.random-display.animating{animation:randomPulse .1s ease-in-out}@keyframes randomPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}.random-controls{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:20px}.random-input{width:80px;padding:12px;border:2px solid #e5e7eb;border-radius:10px;font-size:18px;text-align:center;font-weight:600}.vote-wrap{text-align:center}.vote-buttons{display:flex;gap:24px;justify-content:center;margin-bottom:32px}.vote-btn{padding:32px 48px;border-radius:20px;border:none;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:8px}.vote-btn:hover{transform:scale(1.05)}.vote-btn.yes{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}.vote-btn.no{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.vote-btn.abstain{background:linear-gradient(135deg,#9ca3af,#6b7280);color:#fff}.vote-btn .icon{font-size:48px}.vote-btn .label{font-size:18px;font-weight:700}.vote-results{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.vote-result{background:#f9fafb;border:2px solid #e5e7eb;border-radius:16px;padding:24px 40px;text-align:center;min-width:120px}.vote-result .count{font-size:48px;font-weight:800}.vote-result .label{font-size:14px;font-weight:600;color:#6b7280;margin-top:4px}.vote-result.yes .count{color:#22c55e}.vote-result.no .count{color:#ef4444}.vote-result.abstain .count{color:#6b7280}.vote-bar{margin-top:24px;height:40px;background:#e5e7eb;border-radius:20px;overflow:hidden;display:flex}.vote-bar-yes{background:#22c55e;height:100%;transition:width .3s}.vote-bar-no{background:#ef4444;height:100%;transition:width .3s}.vote-bar-abstain{background:#9ca3af;height:100%;transition:width .3s}.numeration-table{width:100%;border-collapse:collapse;margin-bottom:20px}.numeration-table th{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:16px;font-size:18px;font-weight:700}.numeration-table td{border:2px solid #e5e7eb;padding:16px;text-align:center;vertical-align:top;min-width:80px}.numeration-cell{min-height:120px;display:flex;flex-direction:column;align-items:center;gap:8px}.numeration-jetons{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.numeration-jeton{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;cursor:pointer;transition:all .2s}.numeration-jeton:hover{transform:scale(1.1)}.numeration-jeton.m{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.numeration-jeton.c{background:linear-gradient(135deg,#3b82f6,#2563eb)}.numeration-jeton.d{background:linear-gradient(135deg,#22c55e,#16a34a)}.numeration-jeton.u{background:linear-gradient(135deg,#f59e0b,#d97706)}.numeration-add{width:32px;height:32px;border-radius:50%;border:2px dashed #d1d5db;background:0 0;cursor:pointer;font-size:20px;color:#9ca3af;transition:all .2s}.numeration-add:hover{border-color:#6366f1;color:#6366f1;background:#eef2ff}.numeration-total{font-size:48px;font-weight:800;color:#1f2937;text-align:center;margin-top:16px;transition:all .3s}.numeration-total.hidden-answer{background:#e5e7eb;color:#e5e7eb;border-radius:12px;user-select:none}.numeration-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.responsabilites-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:20px}.responsabilite-card{background:#f9fafb;border:3px solid #e5e7eb;border-radius:16px;padding:16px;text-align:center;transition:all .2s}.responsabilite-card:hover{border-color:#a5b4fc}.responsabilite-card .icon{font-size:40px;margin-bottom:8px}.responsabilite-card .role{font-weight:700;font-size:14px;color:#374151;margin-bottom:12px}.responsabilite-card .eleve{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:10px 16px;border-radius:10px;font-weight:700;font-size:16px;min-height:42px;display:flex;align-items:center;justify-content:center}.responsabilite-card .élève.empty{background:#e5e7eb;color:#9ca3af;font-weight:500;font-size:13px}.responsabilite-card select{width:100%;padding:10px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer}.responsabilites-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}.responsabilites-custom{margin-top:20px;padding-top:20px;border-top:2px solid #e5e7eb}.responsabilites-custom-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center}.responsabilites-custom-form input{padding:10px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px}.responsabilites-custom-form select{padding:10px;border:2px solid #e5e7eb;border-radius:10px;font-size:18px}.ligne-wrap{text-align:center}.ligne-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}.ligne-range-btn{padding:10px 20px;border:3px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:700;cursor:pointer;transition:all .2s}.ligne-range-btn:hover{border-color:#a5b4fc}.ligne-range-btn.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#4f46e5}.ligne-container{background:#f9fafb;border-radius:16px;padding:30px 20px;margin-bottom:20px;overflow-x:auto;position:relative}.ligne-line{position:relative;height:60px;margin:0 20px;display:flex;align-items:center}.ligne-bar{position:absolute;top:50%;left:0;right:0;height:4px;background:#374151;transform:translateY(-50%)}.ligne-points{display:flex;justify-content:space-between;position:relative;z-index:2;width:100%}.ligne-point{display:flex;flex-direction:column;align-items:center;cursor:pointer}.ligne-dot{width:20px;height:20px;border-radius:50%;background:#6366f1;border:3px solid #4f46e5;transition:all .2s}.ligne-dot:hover{transform:scale(1.3);background:#818cf8}.ligne-point.active .ligne-dot{background:#ef4444;border-color:#dc2626;transform:scale(1.3)}.ligne-label{margin-top:8px;font-size:12px;font-weight:600;color:#374151}.ligne-display{font-size:72px;font-weight:800;color:#6366f1;margin:20px 0}.ligne-display.hidden-answer{background:#e5e7eb;color:#e5e7eb;border-radius:12px}.ligne-custom{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:15px;padding-top:15px;border-top:2px solid #e5e7eb}.ligne-custom span{font-weight:600;color:#374151}.ligne-custom input{width:80px;padding:8px 12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:600;text-align:center}.ligne-custom input:focus{border-color:#6366f1;outline:2px solid transparent}.tables-wrap{text-align:center}.tables-mode{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.tables-mode-btn{padding:12px 24px;border:3px solid #e5e7eb;border-radius:10px;background:#f9fafb;font-weight:700;cursor:pointer;transition:all .2s}.tables-mode-btn:hover{border-color:#a5b4fc}.tables-mode-btn.active{border-color:#6366f1;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#4f46e5}.tables-select{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}.tables-num{width:50px;height:50px;border:3px solid #e5e7eb;border-radius:12px;background:#f9fafb;font-weight:800;font-size:20px;cursor:pointer;transition:all .2s}.tables-num:hover{border-color:#a5b4fc}.tables-num.active{border-color:#6366f1;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.tables-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;max-width:400px;margin:0 auto 20px}.tables-cell{background:#f9fafb;border:2px solid #e5e7eb;border-radius:10px;padding:12px;font-weight:700;font-size:16px}.tables-cell .operation{color:#6b7280;font-size:14px}.tables-cell .result{color:#1f2937;font-size:20px}.tables-quiz{background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:20px;padding:30px;margin-bottom:20px}.tables-question{font-size:48px;font-weight:800;color:#1f2937;margin-bottom:20px}.tables-input{font-size:36px;font-weight:700;width:120px;padding:10px;text-align:center;border:3px solid #e5e7eb;border-radius:12px}.tables-input.correct{border-color:#22c55e;background:#dcfce7}.tables-input.wrong{border-color:#ef4444;background:#fee2e2}.tables-score{font-size:24px;font-weight:700;color:#6b7280;margin-top:16px}.tb-wbtn{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;font-size:.75rem;cursor:pointer;transition:all .15s;white-space:nowrap}.tb-wbtn:hover{background:#f1f5f9}.tb-wbtn.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.tb-wcolor{width:24px;height:24px;border-radius:50%;border:2px solid #e2e8f0;cursor:pointer;transition:transform .15s;padding:0}.tb-wcolor:hover{transform:scale(1.15)}.tb-wcolor.active{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.3);transform:scale(1.15)}.section.fullscreen-mode #tb-widget-wrapper{height:calc(100vh - 120px)!important}.footer{margin-top:40px;padding:24px 0;border-top:1px solid #e5e7eb;text-align:center;color:#6b7280;font-size:14px}.footer a{color:#4f46e5;font-weight:600;text-decoration:none}.hidden{display:none!important}.mt-16{margin-top:16px}.save-indicator{position:fixed;bottom:20px;right:20px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;padding:12px 20px;border-radius:12px;font-weight:600;font-size:14px;opacity:0;transform:translateY(20px);transition:all .3s;z-index:1000;box-shadow:0 4px 12px rgba(0,0,0,.15)}.save-indicator.visible{opacity:1;transform:translateY(0)}.clear-data-btn{min-height:44px;position:fixed;bottom:20px;left:20px;background:#f3f4f6;color:#4b5563;padding:10px 16px;border-radius:10px;font-size:12px;font-weight:600;border:none;cursor:pointer;z-index:1000}.clear-data-btn:hover{background:#e5e7eb}@media screen and (max-width:768px){.clear-data-btn{position:static;display:block;margin:12px auto 20px}}.section.fullscreen-mode{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;margin:0;padding:0;display:flex!important}.section.fullscreen-mode .card{width:100%;height:100%;border-radius:0;display:flex;flex-direction:column}.section.fullscreen-mode .card-header{flex-shrink:0;border-radius:0}.section.fullscreen-mode .card-body{flex:1;min-height:0;overflow:auto;display:flex;align-items:safe center;justify-content:safe center;padding:12px;overscroll-behavior:contain}.section.fullscreen-mode .header-btn{min-width:44px;min-height:44px}.section.fullscreen-mode .header-btn:not(.fullscreen-btn){display:none}.section.fullscreen-mode .card-header{padding:10px 16px}.section.fullscreen-mode .card-header p{display:none}.section.fullscreen-mode .parole-display{padding:16px;margin-bottom:12px}.section.fullscreen-mode .responsabilites-grid{max-height:calc(100dvh - 330px);overflow:auto}.section.fullscreen-mode #tb-widget-wrapper{flex:1;height:0!important;min-height:120px}#tableau.section.fullscreen-mode .card-body>div{height:100%;display:flex;flex-direction:column}#responsabilites.section.fullscreen-mode .responsabilites-wrap{height:100%;display:flex;flex-direction:column}#responsabilites.section.fullscreen-mode .responsabilites-grid{flex:1;min-height:0;max-height:none;margin:8px 0}#responsabilites.section.fullscreen-mode .form-textarea{min-height:60px;height:60px}#responsabilites.section.fullscreen-mode .responsabilites-wrap>div:first-child{margin-bottom:8px!important}#responsabilites.section.fullscreen-mode .responsabilites-actions{gap:6px;margin-bottom:4px}#responsabilites.section.fullscreen-mode .responsabilites-actions .btn{padding:10px;min-height:44px}#qrcode.section.fullscreen-mode .card-body{flex-direction:column;align-items:stretch;justify-content:flex-start}#qrcode.section.fullscreen-mode .card-body>div:last-child{flex:1;min-height:0;overflow:auto}#horloge.section.fullscreen-mode .clock-main{height:min(340px,38vh);display:flex;align-items:center;justify-content:center}#horloge.section.fullscreen-mode .card-body .clock-face{width:340px;height:340px;flex-shrink:0}@media screen and (max-height:800px){.section.fullscreen-mode .card-body .clock-face,.section.fullscreen-mode .card-body .timer-container,.section.fullscreen-mode .card-body .wheel-canvas{width:min(350px,48vh);height:min(350px,48vh)}.section.fullscreen-mode .card-body .parole-display .name{font-size:clamp(32px, 7vh, 64px)}.section.fullscreen-mode .card-body .parole-display .icon{font-size:8vh}.section.fullscreen-mode .card-body .ligne-display{font-size:12vh}.section.fullscreen-mode .card-body .date-full{font-size:7vh}}.section.fullscreen-mode .card-body>div{width:100%;max-width:1200px}.fullscreen-btn{background:rgba(255,255,255,.2)}.fullscreen-btn:hover{background:rgba(255,255,255,.3)}.section.fullscreen-mode .header-btn.fullscreen-btn{background:rgba(255,255,255,.3)}.section.fullscreen-mode .timer-container{width:350px;height:350px}.section.fullscreen-mode .timer-time{font-size:72px}.section.fullscreen-mode .chrono-display{font-size:120px}.section.fullscreen-mode .date-full{font-size:72px}.section.fullscreen-mode .date-day{font-size:48px}.section.fullscreen-mode .random-display{font-size:200px}.section.fullscreen-mode .result-box .winner{font-size:96px}.section.fullscreen-mode .parole-display .name{font-size:96px}.section.fullscreen-mode .parole-display .icon{font-size:100px}.section.fullscreen-mode .consigne-display .consigne-icon{font-size:250px}.section.fullscreen-mode .consigne-display .consigne-label{font-size:64px}.section.fullscreen-mode .wheel-canvas{width:400px;height:400px}.section.fullscreen-mode .clock-face{width:400px;height:400px}.section.fullscreen-mode .vote-result .count{font-size:72px}.section.fullscreen-mode .numeration-total{font-size:72px}.section.fullscreen-mode .text-display{font-size:64px;min-height:300px}.section.fullscreen-mode .podium-1st .podium-name{font-size:36px}.section.fullscreen-mode .responsabilite-card .icon{font-size:60px}.section.fullscreen-mode .responsabilite-card .role{font-size:20px}.section.fullscreen-mode .responsabilite-card .eleve{font-size:22px;padding:14px 20px}.section.fullscreen-mode .ligne-display{font-size:120px}.section.fullscreen-mode .ligne-dot{width:30px;height:30px}.section.fullscreen-mode .ligne-label{font-size:18px}.section.fullscreen-mode .tables-question{font-size:72px}.section.fullscreen-mode .tables-input{font-size:48px;width:150px}.section.fullscreen-mode .tables-cell .result{font-size:28px}.conv-table-visual{width:100%;border-collapse:collapse;font-size:15px}.conv-table-visual th{padding:12px 6px;text-align:center;font-weight:700;font-size:14px;border:2px solid currentColor;color:#fff;transition:all .3s}.conv-table-visual td{border:2px solid #e5e7eb;padding:0;text-align:center;transition:background .3s}.conv-table-visual td.conv-highlight{background:rgba(99,102,241,.12)}.conv-table-visual td.conv-active{background:rgba(99,102,241,.22);box-shadow:inset 0 0 0 2px rgba(99,102,241,.5)}.conv-cell-input{width:100%;padding:12px 4px;border:none;text-align:center;font-size:16px;font-weight:600;background:0 0;outline:0;font-family:inherit}.conv-explanation{padding:14px 18px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-radius:12px;border:1px solid #fcd34d;font-size:14px;color:#92400e;margin-bottom:12px;display:none;line-height:1.6}.conv-explanation strong{color:#78350f}.conv-calculator{background:#f9fafb;border-radius:12px;padding:16px;margin-bottom:16px;border:2px solid #e5e7eb}.conv-calc-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center}.conv-calc-input{width:100px;padding:10px;border:2px solid #e5e7eb;border-radius:10px;font-size:16px;font-weight:600;text-align:center}.conv-calc-input:focus{border-color:#6366f1}.conv-calc-select{padding:10px 14px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;font-weight:600;background:#fff;cursor:pointer}.conv-calc-select:focus{border-color:#6366f1}.conv-calc-result{font-size:18px;font-weight:700;color:#059669;min-width:120px;text-align:center}.conv-history{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.conv-history-item{padding:6px 12px;background:#f0fdf4;border:1px solid #a7f3d0;border-radius:8px;font-size:12px;font-weight:600;color:#065f46;cursor:pointer;transition:all .2s}.conv-history-item:hover{background:#dcfce7}.conv-mode-btn{padding:10px 20px;border-radius:12px;border:2px solid #e5e7eb;background:#fff;font-weight:700;font-size:14px;cursor:pointer;transition:all .2s}.conv-mode-btn.active{border-color:#059669;background:#ecfdf5;color:#059669}.frise-nav-btns{display:flex;gap:6px;flex-wrap:wrap}.frise-nav-btn{padding:6px 12px;border-radius:8px;border:2px solid #e5e7eb;background:#fff;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.frise-nav-btn:hover{border-color:#f59e0b;background:#fffbeb}.frise-quiz-stats{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:12px;flex-wrap:wrap}.frise-quiz-stat{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:10px 16px;text-align:center}.frise-quiz-stat .value{font-size:24px;font-weight:800}.frise-quiz-stat .label{font-size:11px;color:#6b7280}.frise-streak{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;border-radius:20px;font-size:13px;font-weight:700}.frise-event-icon{font-size:24px;margin-bottom:4px}.frise-quiz-timer{font-size:14px;font-weight:700;color:#f59e0b}.frise-quiz-choice{padding:12px 16px;border-radius:12px;border:2px solid #e5e7eb;background:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;color:#374151}.frise-quiz-choice:hover{border-color:#fcd34d;background:#fffbeb;transform:translateY(-2px)}.frise-quiz-choice.correct{border-color:#10b981;background:#d1fae5;color:#065f46}.frise-quiz-choice.wrong{border-color:#ef4444;background:#fee2e2;color:#991b1b}.frise-quiz-choice.reveal{border-color:#10b981;background:#d1fae5;color:#065f46;opacity:1!important}.bruit-arc-wrap{position:relative;width:280px;height:170px}.bruit-arc-svg{width:100%;height:100%}.bruit-arc-bg{fill:none;stroke:#e5e7eb;stroke-width:18;stroke-linecap:round}.bruit-arc-fill{fill:none;stroke-width:18;stroke-linecap:round;transition:stroke-dashoffset .15s ease,stroke .3s}.bruit-needle{transform-origin:140px 150px;transition:transform .15s ease}.bruit-value-display{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);text-align:center}.bruit-value-big{font-size:42px;font-weight:800;line-height:1;transition:color .3s}.bruit-value-unit{font-size:14px;color:#6b7280;font-weight:600}.bruit-equalizer{display:flex;gap:3px;align-items:flex-end;height:40px;justify-content:center}.bruit-eq-bar{width:4px;background:#10b981;border-radius:2px;transition:height .1s ease,background .3s}.bruit-preset-btn{padding:8px 16px;border-radius:10px;border:2px solid #e5e7eb;background:#fff;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s}.bruit-preset-btn:hover{border-color:#e11d48;background:#fff1f2}.bruit-preset-btn.active{border-color:#e11d48;background:#ffe4e6;color:#be123c}.bruit-zone-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.bruit-zone-stat{text-align:center;padding:8px;border-radius:8px;background:#f9fafb}.bruit-zone-stat .time{font-size:16px;font-weight:700}.bruit-zone-stat .label{font-size:10px;color:#6b7280}.bruit-calm-circle{position:relative;width:80px;height:80px}.bruit-calm-circle svg{transform:rotate(-90deg)}.bruit-calm-circle-bg{fill:none;stroke:#e5e7eb;stroke-width:6}.bruit-calm-circle-fill{fill:none;stroke:#10b981;stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset .5s ease}.bruit-calm-circle-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:#10b981}.bruit-flash-alert{animation:bruitFlash .5s ease-in-out}@keyframes bruitFlash{0%,100%{box-shadow:none}50%{box-shadow:inset 0 0 80px rgba(239,68,68,.4)}}.bruit-fullscreen-display{display:none}.section.fullscreen-mode .bruit-fullscreen-display{display:flex;flex-direction:column;align-items:center;gap:24px}.section.fullscreen-mode .bruit-normal-display{display:none}.section.fullscreen-mode .bruit-arc-wrap{width:400px;height:240px}.section.fullscreen-mode .bruit-value-big{font-size:72px}.section.fullscreen-mode .bruit-equalizer{height:60px}.section.fullscreen-mode .bruit-eq-bar{width:6px}.qr-type-btn{padding:8px 16px;border-radius:10px;border:2px solid #e5e7eb;background:#fff;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s}.qr-type-btn:hover{border-color:#06b6d4}.qr-type-btn.active{border-color:#06b6d4;background:#ecfeff;color:#0891b2}.qr-color-preview{width:28px;height:28px;border-radius:8px;border:2px solid #e5e7eb;cursor:pointer;transition:all .2s}.qr-color-preview:hover{transform:scale(1.1)}.qr-preview-card{display:flex;flex-direction:column;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:20px;border:2px solid #e5e7eb}.qr-batch-area{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;min-height:100px;resize:vertical;font-family:inherit}.qr-batch-area:focus{border-color:#06b6d4;outline:0}.qr-batch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:12px}.qr-batch-item{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:12px;text-align:center}.qr-batch-item canvas{border-radius:8px}.qr-batch-item .label{font-size:11px;color:#6b7280;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qr-history-thumb{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;transition:all .2s;width:100%;text-align:left}.qr-history-thumb:hover{border-color:#06b6d4;background:#ecfeff}.qr-history-thumb canvas{border-radius:4px;flex-shrink:0}.qr-history-thumb .text{font-size:13px;color:#374151;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.eleves-panel-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:9990;opacity:0;visibility:hidden;transition:all .3s}.eleves-panel-overlay.visible{opacity:1;visibility:visible}.eleves-panel{position:fixed;top:0;right:-400px;width:400px;max-width:100%;height:100%;background:#fff;z-index:9991;box-shadow:-4px 0 20px rgba(0,0,0,.15);transition:right .3s;display:flex;flex-direction:column}.eleves-panel.visible{right:0}.eleves-panel-header{padding:20px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:space-between}.eleves-panel-header h3{font-size:18px;font-weight:700;margin:0}.eleves-panel-close{background:rgba(255,255,255,.2);border:none;color:#fff;width:44px;height:44px;border-radius:8px;font-size:20px;cursor:pointer}.eleves-panel-close:hover{background:rgba(255,255,255,.3)}.eleves-panel-body{flex:1;overflow-y:auto;padding:20px}.eleves-panel-section{margin-bottom:24px}.eleves-panel-section h4{font-size:14px;font-weight:700;color:#374151;margin-bottom:12px;display:flex;align-items:center;gap:8px}.eleves-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.eleve-tag{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-radius:20px;font-size:14px;font-weight:600;color:#4f46e5}.eleve-tag .remove{width:20px;height:20px;border-radius:50%;background:rgba(79,70,229,.2);border:none;color:#4f46e5;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}.eleve-tag .remove:hover{background:#ef4444;color:#fff}.eleves-add-form{display:flex;gap:8px}.eleves-add-form input{flex:1;padding:12px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px}.eleves-add-form input:focus{outline:2px solid transparent;border-color:#a5b4fc}.eleves-add-form button{padding:12px 16px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:10px;font-weight:700;cursor:pointer;white-space:nowrap}.eleves-add-form button:hover{transform:scale(1.02)}.eleves-import{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;min-height:100px;resize:none;font-family:inherit}.eleves-import:focus{outline:2px solid transparent;border-color:#a5b4fc}.eleves-import-btn{width:100%;margin-top:8px;padding:12px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-weight:700;cursor:pointer}.eleves-import-btn:hover{transform:scale(1.01)}.eleves-empty{text-align:center;padding:32px;color:#6b7280}.eleves-empty .icon{font-size:48px;margin-bottom:12px;opacity:.5}.eleves-count-badge{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:700;margin-left:8px}.manage-eleves-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:12px;color:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.manage-eleves-btn:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(99,102,241,.3)}.manage-eleves-btn .count{background:rgba(255,255,255,.2);padding:2px 8px;border-radius:10px;font-size:12px}@media print{body{background:#fff!important}.header,.save-indicator,.section:not(#emploi),.tool-selector,.welcome,.élèves-panel-overlay{display:none!important}#emploi{display:block!important}#emploi .card{box-shadow:none;border:2px solid #000}#emploi .card-header{background:#f3f4f6!important;color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}#emploi .card-header .header-actions{display:none}#emploi .schedule-templates{display:none}#emploi .card-body>div:last-child{display:none}#emploi .schedule-print-brand,#emploi .schedule-print-signature{display:block!important}#emploi .schedule-print-brand .print-entete{margin:0 0 3mm!important}#emploi .schedule-print-signature .print-pied{margin-top:3mm!important}.schedule-item{border:1px solid #ccc;break-inside:avoid}.schedule-item.done{opacity:1;text-decoration:none}}.schedule-print-brand,.schedule-print-signature{display:none}[data-theme=dark] body{background:linear-gradient(135deg,#0f172a 0,#1a1f35 100%)!important;color:#e2e8f0!important}[data-theme=dark] .header{background:rgba(15,23,42,.95)!important;border-bottom-color:#334155!important}[data-theme=dark] .logo-text{color:#e2e8f0!important}[data-theme=dark] .header-link{background:#1e293b!important;color:#a5b4fc!important;box-shadow:0 2px 8px rgba(0,0,0,.3)!important}[data-theme=dark] .badge{background:#2d3f7a!important;color:#a5b4fc!important}[data-theme=dark] .welcome h1{color:#f1f5f9!important}[data-theme=dark] .welcome p{color:#94a3b8!important}[data-theme=dark] .tool-btn{background:#1e293b!important;border-color:#334155!important}[data-theme=dark] .tool-btn:hover{border-color:#6366f1!important;background:#243044!important}[data-theme=dark] .tool-btn .label{color:#cbd5e1!important}[data-theme=dark] .tool-btn.active{background:linear-gradient(135deg,#1e2a5e 0,#2d1f6e 100%)!important;border-color:#6366f1!important}[data-theme=dark] .tool-btn.active .label{color:#a5b4fc!important}[data-theme=dark] .card{background:#1e293b!important;box-shadow:0 4px 20px rgba(0,0,0,.4)!important}[data-theme=dark] .card-body{color:#e2e8f0!important}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#243044!important;border-color:#334155!important;color:#e2e8f0!important}[data-theme=dark] .input-group label{color:#94a3b8!important}[data-theme=dark] .section{background:0 0!important}[data-theme=dark] .eleves-panel-overlay{background:rgba(0,0,0,.7)!important}[data-theme=dark] .eleves-panel{background:#1e293b!important;box-shadow:-4px 0 24px rgba(0,0,0,.5)!important}[data-theme=dark] .eleve-item{background:#243044!important;border-color:#334155!important;color:#e2e8f0!important}[data-theme=dark] .élève-item:hover{background:#2d3f57!important}[data-theme=dark] .schedule-item{background:#243044!important;border-color:#334155!important;color:#e2e8f0!important}[data-theme=dark] .schedule-item.done{opacity:.5}[data-theme=dark] .save-indicator{background:#1e293b!important;color:#94a3b8!important;border-color:#334155!important}[data-theme=dark] .eleves-panel-section h4{color:#e2e8f0!important}[data-theme=dark] .eleves-add-form input{background:#243044!important;border-color:#334155!important;color:#e2e8f0!important}