.app-header{padding:1rem 1.5rem;z-index:100}.app-header .header-content{background:#e4e8ec;box-shadow:none;border-radius:12px;border:1px solid transparent;padding:.8rem 1.5rem;display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(255,255,255,.4);background:#e4e8eccc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:-4px -4px 10px #fff9,4px 4px 10px #0000000d}.logo-section{display:flex;align-items:center;gap:12px}.logo-section .logo-icon{background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border:1px solid rgba(255,255,255,.1);width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%}.logo-section .title-group{display:flex;align-items:center;gap:10px}.logo-section .title-group h1{font-size:1.2rem;font-weight:700;color:#182848;margin:0}.logo-section .title-group .version-tag{font-size:.7rem;background:#4b6cb71a;color:#4b6cb7;padding:2px 6px;border-radius:4px;font-weight:700}.status-section{display:flex;align-items:center;gap:20px}.status-section .settings-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.status-section .settings-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.status-section .settings-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.status-section .settings-btn.primary{color:#4b6cb7}.status-section .settings-btn.primary:hover{color:#182848}.status-section .settings-btn.accent{color:#f73}.status-section .settings-btn.accent:hover{color:#f50}.status-section .settings-btn.danger{color:#ff4500}.status-section .settings-btn{width:36px;height:36px;border-radius:50%;padding:0;color:#666;display:flex;align-items:center;justify-content:center}.status-section .settings-btn:hover{color:#4b6cb7}.status-section .status-item{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#666}.status-section .status-item .status-dot{width:8px;height:8px;border-radius:50%;background-color:#27ae60;box-shadow:0 0 8px #27ae60;animation:pulse 2s infinite}.status-section .credit-tag{font-size:.85rem;color:#999;padding-left:15px;border-left:1px solid rgba(153,153,153,.3)}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.settings-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-modal{box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border:1px solid rgba(255,255,255,.2);background:#e4e8ec;border-radius:16px;width:90%;max-width:500px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column}.settings-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid rgba(0,0,0,.08);background:#e4e8ec}.settings-modal .modal-header .title{display:flex;align-items:center;gap:10px}.settings-modal .modal-header .title h3{margin:0;font-size:1.1rem;color:#333}.settings-modal .modal-header .title svg{color:#4b6cb7}.settings-modal .modal-header .close-btn{box-shadow:none;border:1px solid transparent;background:#e4e8ec;border:none;color:#666;width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.settings-modal .modal-header .close-btn:hover{color:#ff4500}.modal-body{flex:1;overflow-y:auto;padding:16px 20px}.settings-section{margin-bottom:24px}.settings-section h4{margin:0 0 8px;font-size:.95rem;color:#333}.settings-section .section-desc{font-size:.8rem;color:#999;margin:0 0 12px}.ratio-grid{display:flex;flex-direction:column;gap:10px}.ratio-row{display:flex;align-items:center;gap:10px}.ratio-row .group-info{width:90px;flex-shrink:0}.ratio-row .group-info .group-name{font-weight:600;color:#4b6cb7;display:block;font-size:.9rem}.ratio-row .group-info .group-range{font-size:.75rem;color:#999}.ratio-row input[type=range]{flex:1;height:6px;-webkit-appearance:none;background:#dbe0e6;border-radius:3px;outline:none}.ratio-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#4b6cb7;border-radius:50%;cursor:pointer;box-shadow:0 2px 4px #0003}.ratio-row input[type=number]{width:50px;padding:4px 6px;border:1px solid rgba(0,0,0,.1);border-radius:4px;text-align:center;font-size:.85rem;background:#e4e8ec}.ratio-row input[type=number]:focus{border-color:#4b6cb7;outline:none}.ratio-row .unit{font-size:.85rem;color:#999}.ratio-sum{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:10px 12px;border-radius:6px;font-weight:600}.ratio-sum.valid{background:#27ae601a;color:#27ae60}.ratio-sum.invalid{background:#ff45001a;color:#ff4500}.ratio-sum .check{font-size:1.1rem}.ratio-sum .auto-btn{background:#ff4500;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:.8rem;cursor:pointer}.ratio-sum .auto-btn:hover{background:#cc3700}.speed-toggle{display:flex;gap:8px}.speed-toggle .speed-btn{flex:1;padding:10px;border:1px solid rgba(0,0,0,.1);background:#e4e8ec;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .2s}.speed-toggle .speed-btn:hover{border-color:#4b6cb7}.speed-toggle .speed-btn.active{background:#4b6cb7;color:#fff;border-color:#4b6cb7}.threshold-control{display:flex;align-items:center;gap:16px}.threshold-control input[type=range]{flex:1;height:6px;-webkit-appearance:none;background:linear-gradient(to right,#27ae60,#f1c40f,#ff4500);border-radius:3px;outline:none}.threshold-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;background:#fff;border:2px solid #4B6CB7;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #0003}.threshold-control .threshold-value{font-weight:600;color:#ff4500;min-width:50px}.sound-toggle{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;border:none;transition:all .2s}.sound-toggle.on{background:#27ae6026;color:#27ae60}.sound-toggle.off{background:#9999991a;color:#999}.data-actions{display:flex;gap:10px}.data-actions .data-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;border:1px dashed rgba(0,0,0,.2);background:#e4e8ec;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s}.data-actions .data-btn:hover{border-color:#4b6cb7;color:#4b6cb7}.data-actions .import-btn{cursor:pointer}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid rgba(0,0,0,.08)}.modal-footer .reset-btn{margin-right:auto;display:inline-flex;align-items:center;width:auto!important;height:auto!important;border-radius:6px!important;gap:6px;padding:10px 16px;background:transparent;border:1px solid rgba(0,0,0,.15);border-radius:6px;color:#666;cursor:pointer;font-size:.85rem;white-space:nowrap}.modal-footer .reset-btn svg{flex-shrink:0;background:none;border:none;border-radius:0;box-shadow:none}.modal-footer .reset-btn:hover{border-color:#ff4500;color:#ff4500}.modal-footer .save-btn{padding:10px 24px;background:#4b6cb7;color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer}.modal-footer .save-btn:hover{background:#182848}.modal-footer .save-btn:disabled{background:#999;cursor:not-allowed}.animate-fade-in{animation:fadeIn .25s ease}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.confirm-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0006;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;z-index:2000}.confirm-modal-content{box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border:1px solid rgba(255,255,255,.2);background:#e4e8ec;padding:24px;border-radius:16px;width:90%;max-width:400px;display:flex;flex-direction:column;gap:20px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-header .icon-wrapper{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-header .icon-wrapper.danger{background:#ff45001a;color:#ff4500}.modal-header .icon-wrapper.warning{background:#f1c40f1a;color:#f1c40f}.modal-header h3{font-size:1.2rem;color:#333;font-weight:700;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-header .close-btn{background:#e4e8ec;box-shadow:none;border:1px solid transparent;width:30px;height:30px;border-radius:50%;color:#666;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-header .close-btn:hover{color:#ff4500}.modal-body p{color:#666;line-height:1.5;font-size:.95rem}.modal-footer{display:flex;justify-content:flex-end;gap:12px}.modal-footer .neu-btn{padding:8px 20px;border-radius:8px;font-size:.9rem}.modal-footer .neu-btn.danger:hover{background:#ff45000d}.student-selector-panel{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);padding:1.2rem;display:flex;flex-direction:column;height:100%;gap:15px;background-color:#e4e8ec}.panel-header{display:flex;justify-content:space-between;align-items:center}.icon-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.icon-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.icon-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.icon-btn.primary{color:#4b6cb7}.icon-btn.primary:hover{color:#182848}.icon-btn.accent{color:#f73}.icon-btn.accent:hover{color:#f50}.icon-btn{width:36px;height:36px;border-radius:50%;padding:0}.icon-btn.danger{color:#ff4500}.icon-btn.danger:hover{color:#cc3700}.import-area{margin-top:10px}.import-area textarea{background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1);width:100%;padding:12px 16px;outline:none;font-family:inherit;color:#333;transition:all .15s ease}.import-area textarea:focus{box-shadow:inset -4px -4px 8px #fffc,inset 4px 4px 8px #00000026,0 0 0 2px #4b6cb71a}.import-area textarea::placeholder{color:#999}.import-area textarea{border-radius:8px;resize:vertical;min-height:100px;margin-bottom:10px}.import-area .action-row{display:flex;justify-content:flex-end}.neu-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.neu-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.neu-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.neu-btn.accent{color:#f73}.neu-btn.danger{color:#ff4500}.neu-btn{padding:10px 20px;border-radius:8px;font-size:.95rem}.neu-btn.small{padding:6px 14px;font-size:.85rem}.neu-btn.primary{color:#4b6cb7}.neu-btn.primary:hover{color:#182848}.neu-btn.accent{color:#f73;background:linear-gradient(145deg,rgba(255,119,51,.05),transparent)}.neu-btn.accent:hover{color:#f50}.neu-btn.full-width{width:100%;justify-content:center;padding:12px;font-size:1.1rem}.control-area{display:flex;flex-direction:column;gap:12px;padding:15px;background:#e4e8ec;box-shadow:none;border-radius:12px;border:1px solid transparent;border:1px solid rgba(255,255,255,.5);background:#ffffff4d}.counter-control{display:flex;justify-content:space-between;align-items:center}.counter-control label{font-size:.9rem;color:#666;font-weight:600}.counter-control .stepper{display:flex;align-items:center;gap:10px;background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border:1px solid rgba(255,255,255,.1);padding:4px 8px;border-radius:9999px;background:#dee3e8}.counter-control .stepper button{width:24px;height:24px;border-radius:50%;cursor:pointer;font-weight:700;color:#666}.counter-control .stepper button:hover{color:#4b6cb7;background:#0000000d}.counter-control .stepper span{font-weight:700;min-width:20px;text-align:center}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.9rem;font-weight:600;color:#333}.text-btn{font-size:.8rem;cursor:pointer}.text-btn.danger{color:#999}.text-btn.danger:hover{color:#ff4500}.history-list{display:flex;flex-wrap:wrap;gap:8px;min-height:40px}.history-tag{background:#eaedf0;border:1px solid rgba(75,108,183,.2);border-radius:4px;padding:4px 8px;font-size:.85rem;font-weight:600;color:#182848;display:flex;align-items:center;gap:6px;box-shadow:0 2px 4px #0000000d}.history-tag .time{font-size:.7rem;color:#999;font-weight:400}.empty-text{font-size:.8rem;color:#999;font-style:italic;padding:5px}.divider{height:1px;background:#0000000d;box-shadow:0 1px #ffffff80;margin:5px 0}.student-grid-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.95rem;font-weight:600;color:#4b6cb7}.student-grid-wrapper{flex:1;overflow-y:auto;background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border:1px solid rgba(255,255,255,.1);padding:10px;border-radius:8px}.student-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:10px}.student-card{background:#eaedf0;padding:8px 4px;border-radius:6px;text-align:center;font-size:.9rem;color:#666;border:1px solid transparent;transition:all .3s ease}.student-card.highlight{background:#ffe4b5;border-color:#f73;color:#f50;font-weight:700;transform:scale(1.1);box-shadow:0 4px 12px #f733;z-index:2;animation:pulse-highlight .5s ease}.student-card.rolling{background:#4b6cb726;border-color:#4b6cb7;color:#4b6cb7;transform:scale(1.05);box-shadow:0 0 8px #4b6cb766}@keyframes pulse-highlight{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1.1)}}.empty-state{grid-column:1/-1;text-align:center;color:#999;padding:20px;font-size:.9rem}.animate-slide-right{animation:slideInRight .3s ease forwards}.problem-matrix-panel{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);padding:1.2rem;display:flex;flex-direction:column;height:100%;position:relative}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.panel-header .controls{display:flex;align-items:center;gap:10px;font-size:.9rem;color:#666}.panel-header .controls input{background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1);width:100%;padding:12px 16px;outline:none;font-family:inherit;color:#333;transition:all .15s ease}.panel-header .controls input:focus{box-shadow:inset -4px -4px 8px #fffc,inset 4px 4px 8px #00000026,0 0 0 2px #4b6cb71a}.panel-header .controls input::placeholder{color:#999}.panel-header .controls input{width:80px;padding:6px 10px;text-align:center}.matrix-content{flex:1;overflow:hidden;padding:10px;display:flex;flex-direction:column}.problem-grid{flex:1;display:grid;grid-auto-rows:1fr;gap:20px;padding:10px;justify-content:stretch;align-content:stretch}.problem-cell{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.problem-cell:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.problem-cell:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.problem-cell.primary{color:#4b6cb7}.problem-cell.primary:hover{color:#182848}.problem-cell.accent{color:#f73}.problem-cell.accent:hover{color:#f50}.problem-cell.danger{color:#ff4500}.problem-cell{transition:transform .25s ease,box-shadow .25s ease}.problem-cell:hover{transform:scale(1.02);box-shadow:-12px -12px 24px #fffc,12px 12px 24px #0000002e;z-index:10}.problem-cell{width:100%;height:100%;aspect-ratio:auto;position:relative;font-size:1.8rem;color:#333;border-radius:16px}.problem-cell .badge{position:absolute;top:-5px;right:-5px;background:#4b6cb7;color:#fff;font-size:.7rem;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003;animation:fadeIn .2s ease}.problem-cell:active{animation:clickBounce .2s ease}.problem-cell{transition:background-color .3s ease,color .3s ease}.legend{display:flex;gap:15px;align-items:center;margin-top:15px;font-size:.8rem;color:#666;justify-content:center;flex-wrap:wrap}.legend .legend-gradient{display:flex;flex-direction:column;gap:5px;align-items:center}.legend .legend-gradient .gradient-bar{width:200px;height:20px;border-radius:10px;background:linear-gradient(to right,#f4f4be,#f2e6a6,#f2d08c,#f4b371,#f68b55,#f75a3b,#f90606);box-shadow:inset 0 2px 4px #0000001a;border:1px solid rgba(0,0,0,.1)}.legend .legend-gradient .gradient-labels{display:flex;justify-content:space-between;width:200px;font-size:.75rem;color:#666}.related-toast{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:#000c;color:#fff;padding:8px 16px;border-radius:20px;font-size:.9rem;display:flex;align-items:center;gap:8px;pointer-events:none}.wrong-list-panel{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);padding:1.2rem;display:flex;flex-direction:column;height:100%}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-header .title{display:flex;align-items:center;gap:8px;font-weight:700;color:#4b6cb7;font-size:1.1rem}.reset-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.reset-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.reset-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.reset-btn.primary{color:#4b6cb7}.reset-btn.primary:hover{color:#182848}.reset-btn.accent{color:#f73}.reset-btn.accent:hover{color:#f50}.reset-btn.danger{color:#ff4500}.reset-btn{width:32px;height:32px;border-radius:50%;color:#999}.reset-btn:hover{color:#ff4500}.stats-cards{display:flex;gap:15px;margin-bottom:20px}.stat-card{flex:1;background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1);padding:12px;display:flex;flex-direction:column;position:relative;overflow:hidden}.stat-card .label{font-size:.8rem;color:#666;margin-bottom:5px}.stat-card .value{font-size:1.5rem;font-weight:800;line-height:1}.stat-card .icon{position:absolute;right:10px;bottom:10px;opacity:.2;transform:scale(2.5)}.stat-card.blue .value{color:#4b6cb7}.stat-card.blue{border-left:3px solid #4B6CB7}.stat-card.red .value{color:#ff4500}.stat-card.red{border-left:3px solid #FF4500}.list-content{flex:1;overflow-y:auto;padding-right:5px}.empty-state{text-align:center;padding:40px 20px;color:#999}.empty-state .illustration{font-size:3rem;margin-bottom:10px}.wrong-items{display:flex;flex-direction:column;gap:10px}.wrong-item{background:#e4e8ec;box-shadow:none;border-radius:12px;border:1px solid transparent;display:flex;align-items:center;padding:10px;gap:10px;background:#fff6}.wrong-item .rank{width:24px;height:24px;background:#999;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700}.wrong-item .problem-num{font-weight:600;min-width:60px;color:#333}.wrong-item .error-bar-container{flex:1;height:6px;background:#0000000d;border-radius:9999px;overflow:hidden}.wrong-item .error-bar-container .error-bar{height:100%;background:linear-gradient(90deg,#f73,#ff4500);border-radius:9999px}.wrong-item .count-badge{font-size:.85rem;font-weight:700;color:#ff4500}.wrong-item.top-3 .rank{background:linear-gradient(135deg,gold,orange);box-shadow:0 2px 4px #ffa5004d}.toast-container{position:fixed;bottom:30px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:12px 20px;border-radius:12px;background:#fff;box-shadow:0 4px 20px #00000026;z-index:3000;transition:opacity .3s ease,transform .3s ease}.toast-container.visible{opacity:1;transform:translate(-50%) translateY(0)}.toast-container.hidden{opacity:0;transform:translate(-50%) translateY(20px)}.toast-container.success{border-left:4px solid #27AE60;color:#1e8449}.toast-container.success svg{color:#27ae60}.toast-container.error{border-left:4px solid #FF4500;color:#cc3700}.toast-container.error svg{color:#ff4500}.toast-container span{font-size:.95rem;font-weight:500}.toast-container .close{background:none;border:none;cursor:pointer;color:#999;padding:2px;display:flex;align-items:center}.toast-container .close:hover{color:#666}@keyframes pulse{0%{transform:scale(1);box-shadow:0 0 #ff450066}50%{transform:scale(1.05);box-shadow:0 0 0 6px #ff450000}to{transform:scale(1);box-shadow:0 0 #ff450000}}@keyframes pulse-bg{0%{background-color:#ff45001a}50%{background-color:#ff450033}to{background-color:#ff45001a}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes clickBounce{0%{transform:scale(1)}40%{transform:scale(.92)}to{transform:scale(1)}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.animate-fade-in{animation:fadeIn .25s ease forwards}.animate-pulse{animation:pulse 2s infinite}.animate-click{animation:clickBounce .15s ease}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{padding:20px;width:900px;max-width:95vw;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 10px 30px #0000004d;background:#e4e8ec;box-shadow:none;border-radius:12px;border:1px solid transparent}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h3{margin:0;color:#4b6cb7}.close-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.close-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.close-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.close-btn.primary{color:#4b6cb7}.close-btn.primary:hover{color:#182848}.close-btn.accent{color:#f73}.close-btn.accent:hover{color:#f50}.close-btn.danger{color:#ff4500}.close-btn{width:30px;height:30px;border-radius:50%}.close-btn:hover{color:#ff4500}.modal-body{flex:1;overflow-y:auto;padding:10px}.sort-control{display:flex;align-items:center;gap:15px;margin-bottom:20px;font-size:.9rem;font-weight:700;color:#666}.sort-control .toggle-group{background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border:1px solid rgba(255,255,255,.1);padding:4px;display:flex;border-radius:12px}.sort-control .toggle-group .toggle-btn{padding:6px 16px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:#666;display:flex;align-items:center;gap:6px;font-size:.85rem;transition:all .2s}.sort-control .toggle-group .toggle-btn.active{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);color:#4b6cb7;transform:scale(1.05)}.preview-area{background:#ccc;padding:20px;border-radius:12px;display:flex;justify-content:center;align-items:flex-start;min-height:300px;overflow:auto;box-shadow:inset 0 0 20px #0000001a}.preview-canvas{background:#fff;box-shadow:0 5px 15px #0003;max-width:100%}.modal-footer{margin-top:20px;display:flex;justify-content:flex-end}.modal-footer .neu-btn{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.modal-footer .neu-btn:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.modal-footer .neu-btn:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.modal-footer .neu-btn.primary{color:#4b6cb7}.modal-footer .neu-btn.primary:hover{color:#182848}.modal-footer .neu-btn.accent{color:#f73}.modal-footer .neu-btn.accent:hover{color:#f50}.modal-footer .neu-btn.danger{color:#ff4500}.modal-footer .neu-btn{padding:10px 24px;border-radius:8px;gap:8px}.modal-footer .neu-btn.primary{color:#fff;background:linear-gradient(135deg,#4b6cb7,#182848)}.modal-footer .neu-btn.primary:hover{background:linear-gradient(135deg,#5d7bbe,#4b6cb7)}.animate-fade-in{animation:fadeIn .3s ease}.app-container{height:100vh;display:flex;flex-direction:column;background-color:#e4e8ec}.main-content{flex:1;padding:1rem 1.5rem;overflow:hidden}.layout-grid{display:grid;grid-template-columns:320px 1fr 300px;gap:20px;height:100%}.section-left,.section-right,.section-center{height:100%;overflow:hidden}.matrix-wrapper{height:100%;position:relative}.fab-export{background:#e4e8ec;box-shadow:-6px -6px 14px #ffffffb3,6px 6px 14px #00000026;border-radius:12px;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;font-weight:600;color:#666;-webkit-user-select:none;user-select:none}.fab-export:hover{transform:translateY(-2px);box-shadow:-8px -8px 16px #fffc,8px 8px 16px #0000002e;color:#4b6cb7}.fab-export:active{transform:translateY(0);background:#e4e8ec;box-shadow:inset -3px -3px 7px #ffffffb3,inset 3px 3px 7px #0000001a;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.fab-export.primary{color:#4b6cb7}.fab-export.primary:hover{color:#182848}.fab-export.accent{color:#f73}.fab-export.accent:hover{color:#f50}.fab-export.danger{color:#ff4500}.fab-export{position:absolute;bottom:20px;right:20px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#4b6cb7,#182848);color:#fff;box-shadow:0 4px 10px #4b6cb766;z-index:50}.fab-export:hover{transform:scale(1.1) rotate(5deg);box-shadow:0 8px 20px #4b6cb780}@media(max-width:1200px){.layout-grid{grid-template-columns:280px 1fr 260px;gap:15px}}@media(max-width:1024px){.layout-grid{grid-template-columns:1fr;grid-template-rows:auto auto auto;overflow-y:auto}.app-container{height:auto;min-height:100vh}.section-left,.section-center,.section-right{height:500px}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Microsoft YaHei,-apple-system,BlinkMacSystemFont,sans-serif;background-color:#e4e8ec;color:#333;line-height:1.5;-webkit-font-smoothing:antialiased;overflow:hidden}#root{height:100vh;display:flex;flex-direction:column}button{font-family:inherit;border:none;background:none;padding:0}input,textarea{font-family:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#6663;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#6666}.icon{width:1.2em;height:1.2em;display:inline-block;vertical-align:middle}
