.custom-checkbox{position:relative;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;gap:.75rem}.custom-checkbox input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.custom-checkbox .checkmark{position:relative;height:22px;width:22px;background:var(--surface-light,#2d2d42);border:2px solid var(--border-color,#3f3f46);border-radius:6px;transition:all .3s ease;flex-shrink:0;display:flex;align-items:center;justify-content:center}.custom-checkbox:hover .checkmark{border-color:var(--primary-color,#6366f1);background:rgba(99,102,241,.05)}.custom-checkbox input:checked~.checkmark{background:linear-gradient(135deg,var(--primary-color,#6366f1),#818cf8);border-color:var(--primary-color,#6366f1)}.custom-checkbox .checkmark:after{content:"";position:absolute;display:none;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}.custom-checkbox input:checked~.checkmark:after{display:block;animation:checkmark-appear .3s ease}@keyframes checkmark-appear{0%{transform:rotate(45deg) scale(0);opacity:0}50%{transform:rotate(45deg) scale(1.2)}to{transform:rotate(45deg) scale(1);opacity:1}}.custom-checkbox input:focus~.checkmark{outline:2px solid var(--primary-color,#6366f1);outline-offset:2px}.custom-checkbox input:disabled~.checkmark{opacity:.5;cursor:not-allowed;background:var(--surface-dark,#252538)}.custom-checkbox input:disabled~.checkbox-label{opacity:.5;cursor:not-allowed}.custom-checkbox.disabled{cursor:not-allowed}.checkbox-label{font-size:.9375rem;color:var(--text-primary,#e4e4e7);transition:color .2s ease;display:inline-flex;align-items:center;gap:.5rem;line-height:1.5;flex:1 1}.custom-checkbox:hover .checkbox-label{color:var(--primary-color,#6366f1)}.custom-checkbox input:checked~.checkbox-label{color:var(--text-primary,#e4e4e7);font-weight:500}.custom-checkbox.small .checkmark{height:18px;width:18px}.custom-checkbox.small .checkmark:after{left:5px;top:1px;width:4px;height:8px;border-width:0 2px 2px 0}.custom-checkbox.small .checkbox-label{font-size:.875rem}.custom-checkbox.large .checkmark{height:26px;width:26px}.custom-checkbox.large .checkmark:after{left:8px;top:3px;width:6px;height:12px;border-width:0 3px 3px 0}.custom-checkbox.large .checkbox-label{font-size:1rem}.permission-item .custom-checkbox{width:100%;height:100%;min-height:54px;padding:.75rem;background:var(--surface-light,#2d2d42);border:1px solid var(--border-color,#3f3f46);border-radius:8px;transition:all .2s ease;display:flex;align-items:center}.permission-item .custom-checkbox:hover{background:rgba(99,102,241,.05);border-color:var(--primary-color,#6366f1);transform:translateY(-1px)}.permission-item .custom-checkbox input:checked{background:rgba(99,102,241,.1)}.permission-item .custom-checkbox .checkbox-label{flex:1 1;word-break:break-word;line-height:1.4}.filter-option .custom-checkbox{padding:.5rem;width:100%}.log-type-access-item .custom-checkbox,.log-type-checkbox-item .custom-checkbox,.role-checkbox-item .custom-checkbox{display:flex!important;flex-direction:row!important;align-items:center!important;width:100%;padding:.625rem .75rem;background:var(--surface-light,#2d2d42);border:1px solid var(--border-color,#3f3f46);border-radius:6px;transition:all .2s ease}.log-type-access-item .custom-checkbox:hover,.log-type-checkbox-item .custom-checkbox:hover,.role-checkbox-item .custom-checkbox:hover{background:rgba(99,102,241,.05);border-color:var(--primary-color,#6366f1)}.log-type-access-item .custom-checkbox .checkbox-label,.log-type-checkbox-item .custom-checkbox .checkbox-label,.role-checkbox-item .custom-checkbox .checkbox-label{display:flex;flex-direction:row;align-items:center;gap:.5rem;width:100%;flex:1 1}.log-type-access-item .custom-checkbox .checkmark,.log-type-checkbox-item .custom-checkbox .checkmark,.role-checkbox-item .custom-checkbox .checkmark{order:-1;flex-shrink:0}.custom-checkbox .log-type-color-dot{flex-shrink:0;display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle}.log-types-access,.roles-checkboxes{max-height:300px;overflow-y:auto}.log-type-access-item,.log-type-checkbox-item,.role-checkbox-item{margin-bottom:0}.log-type-access-item:not(:last-child),.log-type-checkbox-item:not(:last-child),.role-checkbox-item:not(:last-child){margin-bottom:.5rem}.confirm-checkbox-container .custom-checkbox{padding:.75rem;background:rgba(239,68,68,.05);border:1px solid rgba(239,68,68,.3);border-radius:8px}.confirm-checkbox-container .custom-checkbox:hover{background:rgba(239,68,68,.1);border-color:var(--danger-color,#ef4444)}.confirm-checkbox-container .custom-checkbox input:checked~.checkmark{background:linear-gradient(135deg,var(--danger-color,#ef4444),#f87171);border-color:var(--danger-color,#ef4444)}@media (max-width:768px){.custom-checkbox{gap:.625rem}.custom-checkbox .checkmark{height:20px;width:20px}.custom-checkbox .checkmark:after{left:5px;top:1px;width:4px;height:9px}.checkbox-label{font-size:.875rem}.log-type-checkbox-item .custom-checkbox,.role-checkbox-item .custom-checkbox{padding:.5rem}}@media (max-width:480px){.log-type-checkbox-item .custom-checkbox,.permission-item .custom-checkbox,.role-checkbox-item .custom-checkbox{padding:.625rem}}.custom-checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.custom-checkbox-input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.custom-checkbox-box{position:relative;width:22px;height:22px;background:var(--surface-light,#2d2d42);border:2px solid var(--border-color,#3f3f46);border-radius:6px;transition:all .3s ease;flex-shrink:0;display:flex;align-items:center;justify-content:center}.custom-checkbox-box i{font-size:.75rem;color:#fff;opacity:0;transform:scale(0);transition:all .3s ease}.custom-checkbox-label:hover .custom-checkbox-box{border-color:var(--primary-color,#6366f1);background:rgba(99,102,241,.05)}.custom-checkbox-input:checked~.custom-checkbox-box{background:linear-gradient(135deg,var(--primary-color,#6366f1),#818cf8);border-color:var(--primary-color,#6366f1)}.custom-checkbox-input:checked~.custom-checkbox-box i{opacity:1;transform:scale(1)}.custom-checkbox-input:focus~.custom-checkbox-box{outline:2px solid var(--primary-color,#6366f1);outline-offset:2px}.custom-checkbox-input:disabled~.custom-checkbox-box{opacity:.5;cursor:not-allowed;background:var(--surface-dark,#252538)}.custom-checkbox-input:disabled~.custom-checkbox-text{opacity:.5;cursor:not-allowed}.custom-checkbox-text{color:var(--text-primary,#e4e4e7);font-size:.9375rem}.project-manage-container{width:100%;height:100vh;background:var(--background-dark);display:flex;flex-direction:column;overflow-y:auto}.project-manage-header{background:var(--surface-dark);border-bottom:1px solid var(--border-color);padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;transition:transform .3s ease,opacity .3s ease}.project-manage-header.hidden{transform:translateY(-100%);opacity:0;pointer-events:none}.header-left{gap:1rem}.btn-back,.header-left{display:flex;align-items:center}.btn-back{background:var(--background-light);border:none;color:var(--text-primary);width:40px;height:40px;border-radius:8px;justify-content:center;cursor:pointer;transition:all .3s ease}.btn-back:hover{background:var(--primary-color);color:#fff;transform:translateX(-3px)}.project-title h1{margin:0;font-size:1.5rem;color:var(--text-primary)}.project-subtitle{margin:.25rem 0 0;font-size:.875rem;color:var(--text-secondary)}.header-right{display:flex;gap:1rem;flex-shrink:0;margin-left:auto}.project-tabs{background:var(--surface-dark);border-bottom:1px solid var(--border-color);padding:0 2rem;display:flex;gap:.5rem;overflow-x:auto;flex-shrink:0;transition:all .3s ease}.project-tabs.fixed-top{position:fixed;top:0;left:0;right:0;z-index:100}.project-tab{background:transparent;color:var(--text-secondary);padding:1rem 1.5rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;border:none;border-bottom:3px solid transparent;transition:all .3s ease;white-space:nowrap;font-size:.95rem}.project-tab:hover{color:var(--text-primary);background:var(--background-light)}.project-tab.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}.project-tab i{font-size:1rem}.project-content{padding:2rem;max-width:1400px;width:100%;margin:0 auto}.project-section{display:none;animation:fadeIn .3s ease}.project-section.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.section-header{display:flex;justify-content:flex-end;align-items:center;margin-bottom:1.5rem}@media (max-width:768px){.project-manage-header{padding:1rem;flex-direction:column;align-items:stretch;gap:.875rem}.header-left{gap:.75rem}.btn-back{width:36px;height:36px;font-size:.9rem}.project-title h1{font-size:1.25rem}.project-subtitle{font-size:.8rem}.header-right{width:auto;gap:.75rem;flex-shrink:0;margin-left:auto}.header-right .btn{flex:1 1;min-height:44px;font-size:.9rem}.project-tabs{padding:0 1rem;gap:.25rem}.project-tab{padding:.875rem 1rem;font-size:.85rem;min-width:max-content}.project-tab i{font-size:.9rem}.project-content{padding:1rem}.section-header{flex-direction:column;align-items:stretch;gap:.875rem}.section-header .btn{width:100%;min-height:44px}}@media (max-width:480px){.project-manage-header{padding:.875rem}.project-title h1{font-size:1.1rem}.project-subtitle{font-size:.75rem}.project-tabs{padding:0 .875rem}.project-tab{padding:.75rem .875rem;font-size:.8rem}.project-content{padding:.875rem}}.info-card{background:var(--background-light);border-left:4px solid var(--primary-color);padding:1rem 1.25rem;border-radius:8px;display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.info-card i{color:var(--primary-color);font-size:1.25rem;margin-top:.125rem}.info-card p{margin:0;line-height:1.5}.info-card p,.loading{color:var(--text-secondary)}.loading{text-align:center;padding:3rem}.loading i{font-size:2rem;margin-bottom:1rem;display:block}.empty-state{padding:4rem 2rem}.empty-state i{font-size:3rem;margin-bottom:1rem;display:block}.empty-state h3,.empty-state p{font-size:1.125rem;margin:0}.empty-state h3{color:var(--text-primary);margin-bottom:.5rem}.access-denied{text-align:center;padding:4rem 2rem;color:var(--text-secondary)}.access-denied i{font-size:3rem;margin-bottom:1rem;display:block;opacity:.5;color:var(--text-muted)}.access-denied h3{font-size:1.25rem;color:var(--text-primary);margin:0 0 .5rem}.access-denied p{font-size:1rem;margin:0}.empty-state-small{padding:1.5rem;text-align:center;background:var(--surface-dark);border:1px dashed var(--border-color);border-radius:8px;color:var(--text-secondary)}.empty-state-small p{margin:0;font-size:.875rem}.role-badge{background:var(--background-light);color:var(--text-primary);padding:.375rem .75rem;display:inline-flex;align-items:center;gap:.375rem}.role-badge i{font-size:.75rem}.permission-badge{background:var(--background-light);color:var(--text-secondary);padding:.375rem .75rem;border-radius:6px;font-size:.875rem;display:inline-flex;align-items:center;gap:.375rem}.permission-badge i{font-size:.75rem}.btn-icon-small{background:var(--background-light);border:none;color:var(--text-secondary);width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}.btn-icon-small:hover{background:var(--primary-color);color:#fff}.btn-icon-small.danger:hover{background:var(--danger-color)}.toast{position:fixed;bottom:2rem;right:2rem;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;padding:1rem 1.5rem;display:flex;align-items:center;gap:.75rem;box-shadow:0 10px 25px rgba(0,0,0,.5);z-index:10000;opacity:0;transform:translateX(400px);transition:all .3s ease;min-width:300px}.toast.show{opacity:1;transform:translateX(0)}.toast i{font-size:1.25rem}.toast-success{border-left:4px solid var(--success-color)}.toast-success i{color:var(--success-color)}.toast-error{border-left:4px solid var(--danger-color)}.toast-error i{color:var(--danger-color)}.toast span{color:var(--text-primary);font-size:.9375rem}.members-list{display:grid;grid-gap:1rem;gap:1rem;min-height:200px;align-items:start}.members-list:has(.access-denied),.members-list:has(.empty-state){display:flex;align-items:center;justify-content:center}.member-card{background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;padding:1.25rem;display:flex;align-items:center;gap:1rem;transition:all .3s ease}.member-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3)}.member-avatar{width:50px;height:50px;border-radius:50%;background:var(--primary-color);display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#fff;font-weight:600}.member-info{flex:1 1}.member-name{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0 0 .25rem}.member-email{font-size:.875rem;color:var(--text-secondary);margin:0}.member-joined{font-size:.8125rem;color:var(--text-tertiary);margin:.25rem 0 0}.member-role{align-items:center}.member-actions,.member-role{display:flex;gap:.5rem}.roles-list{display:grid;grid-gap:1rem;gap:1rem;min-height:200px;align-items:start}.roles-list:has(.access-denied),.roles-list:has(.empty-state){display:flex;align-items:center;justify-content:center}.role-card{background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;transition:all .3s ease}.role-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3)}.role-header{justify-content:space-between;margin-bottom:1rem}.role-header,.role-title{display:flex;align-items:center}.role-title{gap:.75rem}.role-title>div{display:flex;flex-direction:column;gap:.375rem}.role-color-indicator{width:12px;height:12px;border-radius:50%;flex-shrink:0;margin-top:.25rem}.role-name{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}.role-permissions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.log-types-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:1rem;gap:1rem;min-height:300px;align-items:stretch}.log-types-grid:has(.access-denied),.log-types-grid:has(.empty-state){display:flex;align-items:center;justify-content:center}.log-type-card{background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column;min-height:200px}.log-type-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3)}.log-type-card .log-type-preview{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.log-type-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.log-type-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#fff;flex-shrink:0}.log-type-actions,.log-type-info{display:flex;gap:.5rem}.log-type-info{flex:1 1;flex-direction:column}.log-type-name{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0}.log-type-id{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:rgba(99,102,241,.1);border:1px solid rgba(99,102,241,.2);border-radius:6px;font-size:.8rem}.id-label{color:var(--text-secondary);font-weight:500}.id-value{font-family:Courier New,monospace;color:var(--primary-color);background:rgba(0,0,0,.3);padding:.125rem .5rem;border-radius:4px;font-size:.85rem;font-weight:600}.btn-copy-id:hover{background:rgba(99,102,241,.2)}.btn-copy-id:active{transform:scale(.95)}.btn-copy-id{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-copy-id:hover{background:var(--surface-dark);color:var(--primary-color)}.btn-copy-id i{font-size:.875rem}.actions-elements-list{display:grid;grid-gap:1rem}.action-element-card{padding:1.25rem;display:flex;gap:1rem}.action-element-icon{width:50px;height:50px;border-radius:10px;background:var(--primary-color);font-size:1.25rem;color:#fff}.action-element-label{font-size:1rem}.action-element-type{margin:0}.action-element-roles{flex-wrap:wrap;gap:.375rem}.action-element-roles .role-badge{font-size:.8125rem;padding:.25rem .625rem}.action-preview-card{background:var(--color-bg-tertiary);border:1px solid var(--color-border);border-radius:.5rem;padding:1rem;margin-bottom:.75rem;transition:all .2s ease}.action-preview-card:hover{border-color:var(--color-accent);box-shadow:0 2px 8px rgba(0,0,0,.1)}.action-preview-header{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem}.action-preview-card .action-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--color-accent);color:#fff;font-size:1.125rem;flex-shrink:0}.action-preview-card .action-info{flex:1 1}.action-preview-card .action-name{font-weight:600;color:var(--color-text-primary);margin-bottom:.25rem}.action-preview-card .action-description{font-size:.875rem;color:var(--color-text-secondary);line-height:1.4}.action-preview-card .action-meta{display:flex;align-items:center;gap:1rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--color-border);font-size:.8125rem;color:var(--color-text-secondary)}.action-preview-card .action-method{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:4px;font-weight:500;font-size:.75rem;text-transform:uppercase}.action-preview-card .action-method.method-get{background:rgba(76,175,80,.1);color:#4caf50}.action-preview-card .action-method.method-post{background:rgba(33,150,243,.1);color:#2196f3}.action-preview-card .action-method.method-put{background:rgba(255,152,0,.1);color:#ff9800}.action-preview-card .action-method.method-delete{background:rgba(244,67,54,.1);color:#f44336}.action-preview-card .action-fields{display:flex;align-items:center;gap:.25rem}@media (max-width:768px){.action-element-roles,.member-actions{justify-content:center}.log-types-grid{grid-template-columns:1fr;gap:.75rem}}@media (max-width:480px){.log-types-grid{grid-template-columns:1fr}}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;align-items:center;justify-content:center;padding:2rem}.modal.active{display:flex}.modal-content{background:var(--surface-dark);border-radius:16px;width:100%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .3s ease}.modal-content form{display:flex;flex-direction:column;flex:1 1;min-height:0}.modal-content.modal-large{max-width:700px}.modal-content.modal-confirm{max-width:500px}.modal-confirm .modal-body{padding:2rem 1.5rem}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.modal-header-warning{background:rgba(239,68,68,.1);border-bottom-color:rgba(239,68,68,.3)}.modal-header-warning h3{display:flex;align-items:center;gap:.5rem}.modal-header-warning h3,.modal-header-warning h3 i{color:var(--danger-color)}.close-modal{background:var(--background-light);border:none;color:var(--text-secondary);width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}.close-modal:hover{background:var(--danger-color);color:#fff}.modal-body{padding:1.5rem;overflow-y:auto;flex:1 1;min-height:0}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid var(--border-color);background:var(--surface-dark);flex-shrink:0}.modal-actions-confirm{justify-content:center;margin-top:0;padding:1.5rem}.btn-full-width{width:100%;justify-content:center}.confirm-message{font-size:1rem;line-height:1.6;color:var(--text-primary);margin:0;padding:.5rem 0}.confirm-checkbox-container{margin-top:1.5rem;padding:1rem;background:var(--background-light);border-radius:8px;border:1px solid var(--border-color)}.confirm-checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;margin:0;font-size:.9375rem;color:var(--text-primary)}.confirm-checkbox{margin:0;cursor:pointer}.confirm-checkbox-label span{-webkit-user-select:none;-moz-user-select:none;user-select:none}.btn-confirm-ok:disabled{opacity:.5;cursor:not-allowed}.color-picker-group{gap:1rem;align-items:center}.color-picker-group input[type=color]{width:60px;height:44px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer;background:transparent}.color-picker-group input[type=text]{flex:1 1}.icon-picker{display:flex;flex-direction:column;gap:1rem}.selected-icon{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px}.selected-icon i{font-size:1.5rem}.selected-icon span{font-family:Courier New,monospace;color:var(--text-secondary)}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));grid-gap:.5rem;gap:.5rem;max-height:250px;overflow-y:auto;padding:.5rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px}.icon-option{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:1.25rem;color:var(--text-primary)}.icon-option:hover{background:var(--bg-hover);border-color:var(--accent-primary);transform:scale(1.1)}.icon-option.selected{background:rgba(99,102,241,.2);border-color:var(--accent-primary)}.log-type-preview-box{padding:1.5rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;display:flex;flex-direction:column;gap:.75rem}.preview-label{font-size:.875rem;color:var(--text-secondary);font-weight:500;text-align:left;margin-bottom:.25rem}.log-type-badge{align-self:flex-start;gap:.75rem;width:-moz-fit-content;width:fit-content}.badge-icon,.log-type-badge{display:flex;align-items:center}.badge-icon{justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:6px}.badge-icon i{font-size:1.125rem;color:#fff}.badge-text{display:flex;align-items:center;padding:.5rem 1rem;background:var(--bg-primary);color:var(--text-primary);font-weight:600;font-size:.9375rem;white-space:nowrap;border:1px solid var(--border-color);border-radius:6px;min-height:2.5rem}@media (max-width:768px){.modal{padding:1rem}.modal-content{max-height:95vh}.icon-grid{grid-template-columns:repeat(auto-fill,minmax(45px,1fr))}.icon-option{width:45px;height:45px;font-size:1.1rem}}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group label,.form-input{color:var(--text-primary);font-size:.9375rem}.form-input{width:100%;padding:.75rem;background:var(--background-light);border:1px solid var(--border-color);border-radius:8px;transition:all .3s ease}.form-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(99,102,241,.1)}.custom-select-wrapper{position:relative;width:100%}.custom-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:2.5rem;cursor:pointer}.select-arrow{position:absolute;right:1rem;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none;font-size:.875rem;transition:all .3s ease}.custom-select:focus~.select-arrow{color:var(--primary-color);transform:translateY(-50%) rotate(180deg)}.custom-select option{background-color:var(--background-light);color:var(--text-primary);padding:.5rem}.form-hint{display:block;margin-top:.375rem;font-size:.8125rem}.form-hint a{color:var(--primary-color);text-decoration:none}.form-hint a:hover{text-decoration:underline}.color-picker-group{display:flex;gap:.75rem}.color-picker-container{display:flex;gap:.75rem;align-items:center}.color-input{width:60px;height:44px;padding:.25rem;cursor:pointer;border:1px solid var(--border-color);border-radius:8px;background:var(--background-light)}.color-picker-container .form-input,.color-picker-group .form-input:last-child{flex:1 1}.help-text{font-size:.8125rem;font-weight:400;margin-left:.5rem}.permissions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:.75rem;gap:.75rem;grid-auto-rows:1fr;padding:1rem;background:var(--background-light);border:1px solid var(--border-color);border-radius:8px}.permissions-grid .custom-checkbox{display:flex;align-items:center;gap:.75rem;padding:.5rem}.permission-item{height:100%}.permission-item label{margin:0;cursor:pointer;display:flex;align-items:center;gap:.5rem;color:var(--text-primary)}.permission-item i{font-size:.875rem;color:var(--text-secondary)}.log-types-access{background:var(--background-light);padding:1rem;border-radius:8px}.log-type-access-item{display:flex;align-items:center;gap:.75rem;padding:.625rem;border-radius:6px;transition:all .3s ease}.log-type-access-item:hover{background:var(--surface-light)}.log-type-access-item label{margin:0;cursor:pointer;flex:1 1;display:flex;align-items:center;gap:.75rem}.log-type-color-dot{width:12px;height:12px;border-radius:50%}.log-types-access-section{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.log-types-access,.log-types-checkboxes,.roles-checkboxes{display:flex;flex-direction:column;gap:.5rem;background:var(--background-light);padding:1rem;border-radius:8px;margin-top:.75rem}.log-types-access .custom-checkbox,.log-types-checkboxes .custom-checkbox,.roles-checkboxes .custom-checkbox{display:flex;align-items:center;gap:.75rem;padding:.5rem}.log-type-access-item,.log-type-checkbox-item,.role-checkbox-item{display:block;width:100%;margin-bottom:.5rem}.log-type-access-item:last-child,.log-type-checkbox-item:last-child,.role-checkbox-item:last-child{margin-bottom:0}.log-type-preview{margin-top:1rem;padding:1rem;background:var(--background-light);display:flex;justify-content:center}.log-type-preview,.preview-badge{border-radius:8px;align-items:center}.preview-badge{display:inline-flex;gap:.5rem;padding:.5rem 1rem;font-weight:600;color:#fff}.form-help{margin-top:.5rem;line-height:1.4}.form-help strong{color:var(--primary-color);font-weight:600}.tooltip-icon{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin-left:.5rem;color:var(--text-secondary);cursor:help;transition:color .2s ease}.tooltip-icon:hover{color:var(--primary-color)}.tooltip-icon i{font-size:.875rem}.role-level-badge,.role-member-count{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;background:rgba(99,102,241,.1);border:1px solid rgba(99,102,241,.3);border-radius:6px;color:var(--primary-color);font-size:.8125rem;font-weight:600}.role-member-count{background:rgba(147,51,234,.1);border-color:rgba(147,51,234,.3);color:#9333ea}.role-level-badge i,.role-member-count i{font-size:.75rem}.search-container{position:relative}.search-container .search-icon{position:absolute;right:1rem;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.search-results{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:var(--background-light);border:1px solid var(--border-color);border-radius:8px;max-height:300px;overflow-y:auto;z-index:1000;box-shadow:0 4px 12px rgba(0,0,0,.15)}.search-result-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;cursor:pointer;transition:background .2s ease}.search-result-item:hover{background:var(--background-secondary)}.user-avatar{width:40px;height:40px;border-radius:50%;background:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;flex-shrink:0}.user-info{flex:1 1;min-width:0}.user-name{font-weight:500;color:var(--text-primary);margin-bottom:.25rem}.user-email{font-size:.875rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.permissions-grid{grid-template-columns:1fr}}.general-info-container{display:flex;flex-direction:column;gap:2rem;padding:1rem}.info-block{background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;overflow:hidden;transition:all .3s ease}.info-block:hover{border-color:var(--primary-color);box-shadow:0 4px 12px rgba(99,102,241,.1)}.info-block-header{padding:1.25rem 1.5rem;background:rgba(99,102,241,.1);border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;gap:1rem}.info-block-header h3{margin:0;font-size:1.125rem;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:.75rem}.info-block-header h3 i{color:var(--primary-color);font-size:1.25rem}.info-block-header .btn-sm{flex-shrink:0}.info-block-content{padding:1.5rem}#project-info-form .form-group{margin-bottom:1.5rem}#project-info-form .form-group:last-of-type{margin-bottom:2rem}#project-info-form textarea.form-input{resize:vertical;min-height:80px;font-family:inherit}.api-key-container .form-group{margin-bottom:0}.api-key-input-group{display:flex;gap:.5rem;align-items:center}.api-key-input-group input{flex:1 1;font-family:Courier New,monospace;letter-spacing:.5px}.api-key-input-group .btn-icon{background:var(--surface-light);border:1px solid var(--border-color);color:var(--text-secondary);padding:.625rem .875rem;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:42px;height:42px}.api-key-input-group .btn-icon:hover{background:var(--primary-color);color:#fff;border-color:var(--primary-color);transform:translateY(-1px)}.api-key-input-group .btn-icon:active{transform:translateY(0)}.api-key-input-group .btn-icon i{font-size:1rem}.form-help{display:block;margin-top:.75rem;font-size:.875rem;color:var(--text-secondary);display:flex;align-items:center;gap:.5rem}.form-help i{color:var(--primary-color)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem}.stat-item{background:var(--surface-light);border:1px solid var(--border-color);border-radius:8px;padding:1.25rem;display:flex;align-items:center;gap:1rem;transition:all .3s ease}.stat-item:hover{background:rgba(99,102,241,.05);border-color:var(--primary-color);transform:translateY(-2px)}.stat-icon{width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,#6366f105,#404aa9d4);display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon i{font-size:1.5rem;color:#fff}.stat-details{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.stat-value{font-size:1.5rem;font-weight:700;color:var(--text-primary);word-break:break-word;overflow-wrap:break-word}.danger-zone,.danger-zone:hover{border-color:var(--danger-color)}.danger-zone:hover{box-shadow:0 4px 12px rgba(239,68,68,.2)}.danger-zone .info-block-header{background:rgba(239,68,68,.1);border-bottom-color:rgba(239,68,68,.3)}.danger-zone .info-block-header h3 i{color:var(--danger-color)}.danger-zone-content{display:flex;justify-content:space-between;align-items:center;gap:2rem}.danger-zone-text h4{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:var(--danger-color)}.danger-zone-text p{margin:0;font-size:.875rem;color:var(--text-secondary);line-height:1.5}.danger-zone .btn-danger{flex-shrink:0}@media (max-width:768px){.general-info-container{padding:.5rem;gap:1.5rem}.info-block-content{padding:1rem}.stats-grid{grid-template-columns:1fr}.danger-zone-content{flex-direction:column;align-items:flex-start}.danger-zone .btn-danger{width:100%}.api-key-input-group{flex-wrap:wrap}.api-key-input-group input{width:100%;flex:1 1 100%}.api-key-input-group .btn-icon{flex:1 1}}@media (max-width:480px){.stat-item{padding:1rem}.stat-icon{width:40px;height:40px}.stat-icon i,.stat-value{font-size:1.25rem}}.action-element-card{background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;display:grid;grid-template-columns:auto 1fr auto auto;grid-gap:1.5rem;gap:1.5rem;align-items:center;transition:all .3s ease}.action-element-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3);border-color:var(--primary-color)}.action-element-icon{width:56px;height:56px;background:var(--background-light);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:var(--primary-color);transition:all .3s ease}.action-element-card:hover .action-element-icon{background:var(--primary-color);color:#fff;transform:scale(1.05)}.action-element-info{flex:1 1}.action-element-label{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0 0 .25rem}.action-element-type{font-size:.875rem;color:var(--text-secondary);margin:0 0 .5rem}.action-element-description{font-size:.875rem;color:var(--text-secondary);margin:.5rem 0;line-height:1.4}.action-fields-preview{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.field-preview-badge{background:var(--background-light);color:var(--text-secondary);padding:.25rem .625rem;border-radius:6px;font-size:.75rem;display:inline-flex;align-items:center;gap:.375rem;border:1px solid var(--border-color)}.field-preview-badge i{font-size:.625rem;color:var(--primary-color)}.field-preview-more{background:var(--primary-color);color:#fff;padding:.25rem .625rem;border-radius:6px;font-size:.75rem;font-weight:600}.action-element-roles{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start;justify-content:center;min-width:150px}.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--border-color)}.form-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section-title{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0 0 1.5rem;display:flex;align-items:center;gap:.5rem}.form-section-title i{color:var(--primary-color);font-size:1.125rem}.form-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.form-section-header .form-section-title{margin:0}.action-fields-container{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1rem}.action-fields-container:empty{display:none}.action-field-item{background:var(--background-light);border:1px solid var(--border-color);border-radius:12px;padding:1.25rem;transition:all .3s ease}.action-field-item:hover{border-color:var(--primary-color);box-shadow:0 4px 12px rgba(0,0,0,.1)}.action-field-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-color)}.drag-handle{color:var(--text-secondary);cursor:-webkit-grab;cursor:grab;font-size:1rem}.drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.field-number{font-weight:600;color:var(--primary-color);font-size:.875rem}.action-field-header .remove-field-btn{margin-left:auto}.form-row{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1rem;gap:1rem}@media (max-width:768px){.form-row{grid-template-columns:1fr}}.form-hint{font-size:.875rem;color:var(--text-secondary);margin:0;padding:.75rem 1rem;background:var(--background-light);border-radius:8px;border-left:3px solid var(--primary-color);display:flex;align-items:flex-start;gap:.5rem}.form-hint i{color:var(--primary-color);margin-top:.125rem}.modal-large .modal-content{max-width:800px;width:90vw}.options-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.option-item{display:grid;grid-template-columns:1fr 1fr auto;grid-gap:.75rem;gap:.75rem;align-items:center;padding:.75rem;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:8px}.option-item input{margin:0}.option-item .btn-icon-small{flex-shrink:0}@media (max-width:768px){.option-item{grid-template-columns:1fr}}.btn-sm{padding:.5rem 1rem;font-size:.875rem;height:auto}.actions-elements-list{display:flex;flex-direction:column;gap:1rem;min-height:300px}.actions-elements-list:has(.access-denied),.actions-elements-list:has(.empty-state){display:flex;align-items:center;justify-content:center}.action-element-card{grid-column:1/-1}@media (max-width:992px){.actions-elements-list{grid-template-columns:1fr}.action-element-card{grid-template-columns:auto 1fr auto;gap:1rem}.action-element-roles{grid-column:2/3;max-width:100%}.member-actions{grid-column:3/4;grid-row:1/3;display:flex;gap:.5rem}}@media (max-width:768px){.actions-elements-list{gap:.75rem}}@media (max-width:576px){.action-element-card{grid-template-columns:1fr;padding:1rem}.action-element-icon{width:48px;height:48px;font-size:1.25rem}.action-element-roles{grid-column:1}.member-actions{grid-column:1;grid-row:auto;justify-content:flex-start}.modal-large .modal-content{width:95vw}}#stat-cards-list{display:flex;flex-direction:column;gap:12px;margin-top:12px}.stat-card-item{display:flex;align-items:center;justify-content:space-between;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:8px;padding:12px 16px;transition:all .2s ease}.stat-card-item:hover{background:var(--surface-light);border-color:var(--primary-color);transform:translateX(2px)}.stat-card-preview{display:flex;align-items:center;gap:12px;flex:1 1}.stat-card-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:18px}.stat-card-info{display:flex;flex-direction:column;gap:4px}.stat-card-name{font-size:14px;font-weight:600;color:var(--text-primary)}.stat-card-meta{gap:12px;font-size:12px;color:var(--text-secondary)}.stat-card-key,.stat-card-meta{display:flex;align-items:center}.stat-card-key{gap:4px}.stat-card-value{font-weight:600;color:var(--primary-color)}.stat-card-actions{display:flex;align-items:center;gap:8px}.stat-card-order{font-size:12px;color:var(--text-secondary);font-weight:600;background:var(--surface-light);padding:4px 8px;border-radius:4px}.empty-state{text-align:center;padding:40px 20px;color:var(--text-secondary)}.empty-state i{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state p{margin:12px 0;font-size:14px}.empty-state .btn{margin-top:16px}.stats-api-input-group{display:flex;gap:8px;align-items:stretch}.stats-api-input-group input{flex:1 1}.stats-api-input-group .btn{white-space:nowrap;flex-shrink:0}.input-group{display:flex;gap:8px;align-items:stretch}.input-group input{flex:1 1}.input-group .btn{white-space:nowrap;flex-shrink:0}#stat-card-modal .modal-body{display:flex;flex-direction:column;gap:16px}#stat-card-modal .form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:0}#stat-card-modal .form-row .form-group{margin:0}#stat-card-modal .form-row+.form-hint{margin-top:8px;margin-bottom:16px;display:block;grid-column:1/-1}input[type=color]{height:40px;padding:4px;border:1px solid var(--border-color);border-radius:6px;background:var(--surface-dark);cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:4px}input[type=number]{appearance:textfield;-moz-appearance:textfield;-webkit-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.help-text{font-size:12px;color:var(--text-secondary);margin-top:4px;display:flex;align-items:center;gap:4px}.help-text i{font-size:10px}.icon-preview{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--surface-light);border-radius:6px;margin-left:8px;font-size:16px;color:var(--primary-color)}.message{padding:12px 16px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;gap:8px;animation:slideIn .3s ease}.message-success{background:rgba(16,185,129,.1);border:1px solid var(--success-color);color:var(--success-color)}.message-error{background:rgba(239,68,68,.1);border:1px solid var(--danger-color);color:var(--danger-color)}.stats-api-config{background:var(--surface-dark);margin-bottom:2rem}.stats-api-config h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0 0 1rem}.input-with-button{display:flex;gap:.5rem;align-items:stretch}.input-with-button .form-input{flex:1 1;min-width:0}.input-with-button .btn{width:auto;white-space:nowrap;padding:.5rem .875rem;font-size:.875rem;flex-shrink:0;flex-grow:0;min-width:-moz-fit-content;min-width:fit-content}.stat-card-preview-box{display:flex;align-items:center;gap:1rem;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:8px;padding:1rem}.stat-card-preview-box .stat-card-icon{width:50px;height:50px;font-size:1.5rem}.stat-card-preview-box .stat-card-info{flex:1 1}.stat-card-preview-box .stat-card-name{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.stat-card-preview-box .stat-card-value{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.stat-cards-list{display:flex;flex-direction:column;gap:.75rem}@keyframes slideIn{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width:768px){#stat-card-modal .form-row{grid-template-columns:1fr}.stat-card-item{flex-direction:column;align-items:flex-start;gap:12px}.stat-card-actions{width:100%;justify-content:flex-end}}.log-keys-list{display:grid;grid-gap:1rem;gap:1rem;margin-top:1rem;min-height:200px;align-items:start}.log-keys-list:has(.empty-state){display:flex;align-items:center;justify-content:center}.log-key-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:12px;transition:all .3s ease}.log-key-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3)}.log-key-info{display:flex;align-items:center;gap:16px;flex-shrink:0}.log-key-name{font-size:1rem;font-weight:600;color:var(--text-primary);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.log-key-roles,.log-key-type{display:flex;align-items:center}.log-key-roles{flex-wrap:wrap;gap:.5rem;flex:1 1;min-width:0}.log-key-roles .role-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}.log-key-roles .role-badge-warning{background:rgba(255,152,0,.1);color:#ff9800;border:1px solid rgba(255,152,0,.3)}.type-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.type-badge.type-string{background:#e3f2fd;color:#1976d2}.type-badge.type-number{background:#f3e5f5;color:#7b1fa2}.type-badge.type-boolean{background:#e8f5e9;color:#388e3c}.type-badge.type-date{background:#fff3e0;color:#f57c00}.type-badge.type-json{background:#fce4ec;color:#c2185b}.log-key-actions{display:flex;gap:.5rem}.log-keys-list .empty-state{text-align:center;padding:60px 20px;color:var(--text-secondary)}.log-keys-list .empty-state p{margin:8px 0}.log-keys-list .empty-state p:first-child{font-size:16px;font-weight:600;color:var(--text-primary)}.log-keys-list .empty-state .hint{font-size:14px;opacity:.7}.modal .form-help{display:block;margin-top:6px;font-size:12px;color:var(--text-secondary)}.modal .warning-text{display:flex;align-items:center;gap:8px;padding:12px;background:#fff3e0;border-left:3px solid #f57c00;border-radius:4px;color:#e65100;font-size:14px;margin-top:12px}.modal .warning-text i{font-size:18px}.custom-select{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.custom-select-trigger{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all .3s ease}.custom-select-trigger:hover{border-color:var(--primary-color)}.custom-select.open .custom-select-trigger{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(56,189,248,.1)}.custom-select-trigger i{transition:transform .3s ease;color:var(--text-muted)}.custom-select.open .custom-select-trigger i{transform:rotate(180deg)}.custom-select-options{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);max-height:0;overflow:hidden;opacity:0;transition:all .3s ease;z-index:1000}.custom-select.open .custom-select-options{max-height:300px;overflow-y:auto;opacity:1}.custom-select-option{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;transition:all .2s ease}.custom-select-option:hover{background:var(--hover-bg)}.custom-select-option.selected{background:var(--primary-color);color:#fff}.custom-select-option i{width:20px;text-align:center;opacity:.7}.custom-select-option.selected i{opacity:1}.permissions-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.permission-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--surface-dark);border:1px solid var(--border-color);border-radius:8px;transition:all .2s ease}.permission-item:hover{background:var(--surface-darker);border-color:var(--primary-color)}.role-info{display:flex;align-items:center;gap:.75rem;flex:1 1}.role-badge{padding:.4rem .8rem;border-radius:6px;color:#fff;font-size:.875rem;font-weight:600;white-space:nowrap}.role-level{font-size:.8rem;color:var(--text-secondary);font-weight:500}@media (max-width:768px){.log-key-item{gap:12px}.log-key-info,.log-key-item{flex-direction:column;align-items:flex-start}.log-key-info{gap:8px;width:100%}.log-key-actions{width:100%;justify-content:flex-end}.permission-item{flex-direction:column;align-items:flex-start;gap:.75rem}.role-info{width:100%}}:root{--background-dark:#0f0f1a;--background-light:#1a1a2e;--surface-dark:#252538;--surface-light:#2d2d42;--text-primary:#e4e4e7;--text-secondary:#a1a1aa;--border-color:#3f3f46;--primary-color:#6366f1;--success-color:#10b981;--danger-color:#ef4444;--warning-color:#f59e0b}@media (max-width:1024px){.dashboard-header{display:flex;justify-content:space-between;align-items:center}.header-left{flex:0 1 auto;min-width:0}.header-right{flex-shrink:0;margin-left:auto}.main-content{padding:15px}.stats-section{gap:12px}.log-item{padding:12px}}@media (max-width:768px){.dashboard-container{grid-template-columns:1fr;grid-template-rows:auto auto 1fr}.dashboard-header,.header{padding:12px 16px;height:auto;min-height:60px;gap:12px;display:flex!important;justify-content:space-between!important;align-items:center!important;flex-direction:row!important}.header-left{flex-shrink:1;min-width:0;margin-right:12px;flex:0 1 auto}.header-left h1{font-size:1.2rem;display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-right{margin-left:auto;gap:12px}.header-right,.user-panel{flex-shrink:0;display:flex!important}.user-panel{padding:6px 12px;gap:10px}.user-info{font-size:.85rem}.user-info i.fa-user-circle{font-size:1.1rem}.user-name{display:none}.user-actions{gap:4px;padding-left:8px}.btn-icon{padding:6px;font-size:1rem}.btn-logout{padding:8px 12px;font-size:.85rem;white-space:nowrap}.sidebar{border-right:none;border-bottom:1px solid var(--border-color);padding:12px 16px;overflow-x:auto;overflow-y:hidden;max-height:none;-webkit-overflow-scrolling:touch;scrollbar-width:thin;-ms-overflow-style:auto;position:static!important;top:auto!important;height:auto!important;min-width:0!important;width:100%!important}.sidebar.collapsed{height:0;padding:0;border-bottom:none}.sidebar::-webkit-scrollbar{height:4px}.sidebar::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:2px}.sidebar::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:2px}.sidebar-header{flex-direction:row;align-items:center}.sidebar-header h3{font-size:.8rem;margin-bottom:0}.sidebar-reopen-btn{position:fixed;left:50%;top:70px;transform:translateX(-50%);width:80px;height:36px;border-radius:0 0 8px 8px;border-top:none}.sidebar.messaging-sidebar{display:flex;flex-direction:column;overflow:visible;padding-bottom:0}.sidebar.messaging-sidebar .sidebar-fixed-header{flex-shrink:0}.sidebar.messaging-sidebar .sidebar-search{margin-bottom:12px;padding-bottom:0;border-bottom:none}.sidebar.messaging-sidebar .sidebar-tabs{margin-bottom:12px}.sidebar.messaging-sidebar .messaging-list{display:flex;flex-direction:row;gap:12px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin-left:-16px;margin-right:-16px;padding:5px 16px 12px}.sidebar.messaging-sidebar .messaging-list::-webkit-scrollbar{height:4px}.sidebar.messaging-sidebar .messaging-list::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:2px}.sidebar.messaging-sidebar .messaging-list::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:2px}.sidebar.messaging-sidebar .messaging-item{min-width:200px;max-width:240px;flex-shrink:0}.sidebar:not(.messaging-sidebar) .projects-list{display:flex;flex-direction:row;gap:12px;padding:5px 0;align-items:center}.project-item{min-width:180px;max-width:220px;flex-shrink:0;touch-action:manipulation;padding:12px 14px}.project-name{font-size:.95rem}.project-id,.project-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-id{font-size:.75rem}.project-toggle-btn{width:36px;height:36px;font-size:16px;background:hsla(0,0%,100%,.2);right:10px}.project-item.active .project-toggle-btn{opacity:1;pointer-events:auto}.action-button,.btn,.btn-filter,.btn-pagination,.btn-refresh,.project-toggle-btn{min-height:44px;touch-action:manipulation}.main-content{padding:12px}.stats-section{grid-template-columns:1fr;gap:10px;margin-bottom:15px}.stat-card{padding:12px}.stat-icon{font-size:2rem}.stat-value{font-size:1.5rem}.controls-section{flex-direction:column;gap:10px;margin-bottom:15px}.search-bar{width:100%}.btn-filter{width:100%;justify-content:center}.actions-panel,.logs-section{padding:12px;border-radius:8px}.actions-header,.logs-header{flex-direction:column;align-items:flex-start;gap:10px}.actions-header h2,.logs-header h2{font-size:1.2rem}.btn-refresh{width:100%}.log-item{padding:12px;font-size:.9rem;margin-bottom:8px}.log-item:after{font-size:1rem;right:12px}.log-header{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px}.log-time{font-size:.75rem;order:1}.log-type,.log-type-badge{font-size:.75rem;padding:4px 8px;order:0}.log-type-badge{width:26px;height:26px;font-size:.85rem}.log-message{font-size:.875rem;margin:8px 0;line-height:1.5}.log-meta{flex-direction:column;align-items:flex-start;gap:4px;font-size:.75rem;margin-top:8px}.actions-container{gap:10px;grid-template-columns:1fr}.action-button,.action-item{padding:14px;min-height:60px}.action-icon{font-size:1.6rem}.action-label{font-size:.95rem;font-weight:600}.action-description{font-size:.8rem;line-height:1.4}.action-field{margin-bottom:12px}.action-field label{font-size:.9rem;margin-bottom:6px;display:block;font-weight:500}.action-field input,.action-field select,.action-field textarea{font-size:.95rem;padding:10px 12px;min-height:44px;width:100%;border-radius:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.action-field textarea{min-height:100px;resize:vertical}.action-field select{background-position:right 12px center;padding-right:36px}.pagination{flex-direction:column;gap:10px;padding:10px 0}.pagination-info{text-align:center;font-size:.9rem;order:-1}.btn-pagination{width:100%;min-height:44px;font-size:.95rem}.modal-overlay{padding:0;align-items:stretch}.modal-content{margin:0;border-radius:0;display:flex;flex-direction:column}.modal-content,.modal-content-filters,.modal-content-large,.modal-content-medium{width:100%;max-width:100%;height:100vh;max-height:100vh}.modal-header{padding:14px 16px;flex-shrink:0}.modal-header h3{font-size:1.1rem}.modal-close{width:40px;height:40px;font-size:1.3rem}.modal-body{padding:16px;flex:1 1;overflow-y:auto;-webkit-overflow-scrolling:touch}.log-detail-row{flex-direction:column;align-items:flex-start;gap:6px;padding:10px 0;border-bottom:1px solid var(--border-color)}.log-detail-row:last-child{border-bottom:none}.log-detail-label{min-width:auto;font-size:.85rem;font-weight:600;color:var(--text-secondary)}.log-detail-value{text-align:left;font-size:.9rem;width:100%;word-wrap:break-word}.log-detail-section{padding:14px;margin-bottom:10px}.log-detail-section-title{font-size:.95rem;margin-bottom:12px}.log-detail-value.monospace{font-size:.8rem;word-break:break-all;line-height:1.5;padding:8px;background:var(--bg-tertiary);border-radius:6px}.log-detail-copyable{display:flex;flex-direction:column;gap:8px}.log-detail-copyable .monospace{font-size:.8rem;word-break:break-all;line-height:1.5}.copy-btn{min-width:36px;min-height:36px;height:auto;padding:8px 12px;align-self:flex-start}.copy-notification{bottom:20px;left:50%;transform:translateX(-50%);font-size:.9rem;padding:12px 20px;max-width:90%}.filter-group{margin-bottom:16px}.filter-group label{font-size:.9rem;margin-bottom:6px;display:block}.filter-group input,.filter-group select{min-height:44px;font-size:.95rem;padding:10px 12px}.modal-footer{padding:14px 16px;flex-direction:column-reverse;gap:10px;flex-shrink:0;background:var(--bg-secondary);border-top:2px solid var(--border-color)}.modal-footer .btn{width:100%;min-height:44px;font-size:.95rem}}@media (max-width:480px){.dashboard-header{padding:10px 12px;gap:8px;display:flex!important;justify-content:space-between!important;align-items:center!important;flex-direction:row!important}.header-left{flex-shrink:1;min-width:0;margin-right:8px;flex:0 1 auto}.header-left h1{font-size:1.05rem;display:block!important}.header-right{margin-left:auto;gap:12px}.header-right,.user-panel{flex-shrink:0;display:flex!important}.user-panel{padding:5px 10px;gap:8px}.user-info{font-size:.8rem}.user-info i.fa-user-circle{font-size:1rem}.btn-logout{padding:6px 10px;font-size:.8rem}.btn-icon{padding:5px;font-size:.95rem}.project-item,.sidebar{padding:10px 12px}.project-item{min-width:160px;max-width:200px}.project-name{font-size:.88rem}.project-id{font-size:.7rem}.project-toggle-btn{width:32px;height:32px;font-size:14px}.stat-card{padding:10px}.stat-icon{font-size:1.6rem}.stat-label{font-size:.75rem}.stat-value{font-size:1.25rem}.log-item{padding:10px;font-size:.85rem}.log-message{font-size:.8rem}.log-meta{font-size:.7rem}.action-button,.action-item{padding:12px;min-height:56px}.action-icon{font-size:1.4rem}.action-label{font-size:.88rem}.action-description{font-size:.75rem}}@media (max-width:374px){.dashboard-header,.header{padding:10px 12px;gap:6px;display:flex!important;justify-content:space-between!important;align-items:center!important;flex-direction:row!important}.header-left{flex-shrink:1;min-width:0;margin-right:6px;flex:0 1 auto}.header-left h1{font-size:.95rem;display:block!important}.header-right{margin-left:auto;gap:8px}.header-right,.user-panel{flex-shrink:0;display:flex!important}.user-panel{padding:4px 8px}.btn-logout{padding:5px 8px;font-size:.75rem}.main-content{padding:10px}.stats-section{gap:8px}.stat-card{padding:8px}.stat-icon{font-size:1.4rem}.stat-value{font-size:1.1rem}.stat-label{font-size:.7rem}.actions-panel,.logs-section{padding:10px}.log-item{padding:8px;font-size:.8rem}.log-message{font-size:.75rem}.action-button,.action-item{padding:10px}.action-icon{font-size:1.3rem}.action-label{font-size:.85rem}.modal-header{padding:12px}.modal-header h3{font-size:1rem}.modal-body,.modal-footer{padding:12px}.btn{padding:8px 12px;font-size:.85rem}.project-item{min-width:140px;max-width:180px;padding:8px 10px}.project-name{font-size:.82rem}.project-toggle-btn{width:28px;height:28px;font-size:12px}}@media (max-width:768px){.welcome-icon{width:100px;height:100px;margin:0 auto 24px;font-size:3rem;border-radius:25px}.welcome-message{font-size:2rem;margin-bottom:12px;padding:0 20px}.welcome-username{font-size:2.2rem;margin:16px 20px}.welcome-subtitle{font-size:1rem;padding:0 20px}}@media (max-width:480px){.welcome-icon{width:80px;height:80px;margin:0 auto 20px;font-size:2.5rem;border-radius:20px}.welcome-message{font-size:1.6rem;margin-bottom:10px}.welcome-username{font-size:1.8rem;margin:12px 16px}.welcome-subtitle{font-size:.9rem}}@media (max-width:374px){.welcome-icon{width:70px;height:70px;font-size:2rem}.welcome-message{font-size:1.4rem}.welcome-username{font-size:1.5rem}.welcome-subtitle{font-size:.85rem}}@media (hover:none) and (pointer:coarse){.action-button,.btn,.log-item,.log-type-card,.member-card,.project-item,.role-card,.stat-card{-webkit-tap-highlight-color:rgba(99,102,241,.2);tap-highlight-color:rgba(99,102,241,.2)}.action-button:hover,.btn:hover,.log-item:hover,.project-item:hover{transform:none}.btn:active{transform:scale(.97);opacity:.9}.action-button:active,.log-item:active,.project-item:active{transform:scale(.98);opacity:.95}}@media (max-width:768px){body{text-size-adjust:100%}.log-meta,.project-id,.text-secondary,.user-info{color:var(--text-secondary);opacity:.95}a,button,input,select,textarea{touch-action:manipulation}input,select,textarea{font-size:16px!important}}@media (max-width:896px) and (orientation:landscape){.dashboard-container{grid-template-rows:auto 1fr}.sidebar{display:none}.main-content{grid-column:1/-1}.dashboard-header,.header{padding:8px 16px;min-height:50px;display:flex!important;justify-content:space-between!important;align-items:center!important}.header-left{flex:0 1 auto;min-width:0}.header-right{flex-shrink:0;margin-left:auto;display:flex!important}.welcome-icon{width:60px;height:60px;font-size:2rem}.welcome-message{font-size:1.5rem}.welcome-username{font-size:1.8rem}}@supports (-webkit-touch-callout:none){.modal-content{height:-webkit-fill-available}.modal-body{-webkit-overflow-scrolling:touch}}@media (max-width:768px) and (prefers-color-scheme:dark){body{background-color:var(--bg-primary)}.log-item,.member-card,.project-item,.role-card,.stat-card{border-color:hsla(0,0%,100%,.1)}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.welcome-icon,.welcome-message,.welcome-username{animation:none!important}}.notification-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:12px;max-width:400px;pointer-events:none}.notification-item{pointer-events:all;background:var(--surface-dark);border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.4),0 0 0 1px hsla(0,0%,100%,.1);overflow:hidden;cursor:pointer;animation:notificationSlideIn .3s cubic-bezier(.34,1.56,.64,1);transition:transform .2s ease,opacity .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.notification-item:hover{transform:translateX(-4px)}.notification-item.notification-exit{animation:notificationSlideOut .3s ease forwards}@keyframes notificationSlideIn{0%{transform:translateX(120%);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes notificationSlideOut{0%{transform:translateX(0) scale(1);opacity:1}to{transform:translateX(120%) scale(.9);opacity:0}}.notification-content{display:flex;align-items:flex-start;gap:12px;padding:16px;position:relative}.notification-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-top:2px}.notification-message{flex:1 1;color:var(--text-primary);font-size:14px;line-height:1.5;font-weight:500;word-wrap:break-word;padding-right:8px}.notification-close{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--text-secondary);cursor:pointer;border-radius:6px;transition:all .2s ease;font-size:14px;padding:0}.notification-close:hover{background:hsla(0,0%,100%,.1);color:var(--text-primary)}.notification-progress-bar{position:relative;height:4px;background:hsla(0,0%,100%,.1);overflow:hidden}.notification-progress-fill{height:100%;transition:width 50ms linear;border-radius:0 4px 4px 0}.notification-success .notification-icon{color:#10b981}.notification-success .notification-progress-fill{background:linear-gradient(90deg,#10b981,#34d399);box-shadow:0 0 10px rgba(16,185,129,.5)}.notification-success{border-left:4px solid #10b981}.notification-error .notification-icon{color:#ef4444}.notification-error .notification-progress-fill{background:linear-gradient(90deg,#ef4444,#f87171);box-shadow:0 0 10px rgba(239,68,68,.5)}.notification-error{border-left:4px solid #ef4444}.notification-warning .notification-icon{color:#f59e0b}.notification-warning .notification-progress-fill{background:linear-gradient(90deg,#f59e0b,#fbbf24);box-shadow:0 0 10px rgba(245,158,11,.5)}.notification-warning{border-left:4px solid #f59e0b}.notification-info .notification-icon{color:#3b82f6}.notification-info .notification-progress-fill{background:linear-gradient(90deg,#3b82f6,#60a5fa);box-shadow:0 0 10px rgba(59,130,246,.5)}.notification-info{border-left:4px solid #3b82f6}@media (max-width:768px){.notification-container{top:10px;right:10px;left:10px;max-width:none}.notification-item{width:100%}.notification-content{padding:14px}.notification-message{font-size:13px}}@keyframes notificationPulse{0%,to{box-shadow:0 8px 32px rgba(0,0,0,.4),0 0 0 1px hsla(0,0%,100%,.1)}50%{box-shadow:0 8px 32px rgba(239,68,68,.6),0 0 0 1px rgba(239,68,68,.3)}}.notification-error.notification-critical{animation:notificationSlideIn .3s cubic-bezier(.34,1.56,.64,1),notificationPulse 2s ease-in-out infinite}@media (prefers-color-scheme:light){.notification-item{background:#fff;box-shadow:0 8px 32px rgba(0,0,0,.12),0 0 0 1px rgba(0,0,0,.05)}.notification-message{color:#1f2937}.notification-close{color:#6b7280}.notification-close:hover{color:#1f2937}.notification-close:hover,.notification-progress-bar{background:rgba(0,0,0,.05)}}