@import"https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap";:root{--primary-color: #007bff;--primary-color-hover: #0056b3;--secondary-color: #e9ecef;--secondary-color-hover: #d3d9df;--tertiary-color: #ffffff;--background-color: #f8f9fa;--background-global: #f0f2f5;--success-color: #22c55e;--success-bg: #dcfce7;--danger-color: #ef4444;--danger-bg: #fee2e2;--warning-color: #f59e0b;--info-color: #3b82f6;--text-color-dark: #1e293b;--text-color-light: #64748b;--border-color: #e2e8f0;--tertiary-border: #cbd5e1;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--border-radius: 6px;--font-family-base: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.5rem;--z-sticky: 20;--z-dropdown: 50;--z-modal: 100;--z-tooltip: 200}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}body{font-family:var(--font-family-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;line-height:1.5;color:var(--text-color-dark);background-color:var(--background-global);direction:rtl;overflow:hidden}html,body,#root,.main-layout{height:100vh;width:100%}*{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:20px;border:3px solid transparent;background-clip:content-box}*::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}.main-layout{display:flex;flex-direction:column}.content{flex:1;overflow:hidden;padding:var(--spacing-lg);width:100%;max-width:1920px;margin:0 auto}.page-container{background-color:var(--tertiary-color);border-radius:var(--border-radius);box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;height:100%;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:var(--spacing-lg) var(--spacing-lg) 0 var(--spacing-lg);border-bottom:none;background-color:transparent}.panel-header h2{font-size:var(--font-size-lg);font-weight:700;color:var(--text-color-dark);margin:0}.header-actions{display:flex;align-items:center;gap:var(--spacing-sm)}.main-nav{background-color:#1e293b;color:#fff;padding:0 var(--spacing-lg);height:64px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;box-shadow:0 2px 4px #0000001a;z-index:50}.nav-links-group,.user-controls-group{display:flex;align-items:center;gap:var(--spacing-lg)}.nav-link,.panel-toggle-controls button{background:transparent;color:#94a3b8;border:none;font-size:var(--font-size-base);font-weight:500;padding:8px 12px;border-radius:var(--border-radius);cursor:pointer;transition:all .2s ease;text-decoration:none;white-space:nowrap;display:flex;align-items:center;gap:6px}.nav-link:hover,.panel-toggle-controls button:not(:disabled):hover{color:#fff;background-color:#ffffff1a}.nav-link.active,.panel-toggle-controls button.active{color:#fff;background-color:var(--primary-color);font-weight:600}.panel-toggle-controls{display:flex;align-items:center;background-color:#0003;padding:4px 8px;border-radius:var(--border-radius);gap:8px}.panel-toggle-controls button{padding:6px 10px;font-size:.9rem}.user-status-connected{display:flex;align-items:center;gap:12px;font-size:var(--font-size-sm);color:#e2e8f0}.status-indicator{width:8px;height:8px;background-color:#22c55e;border-radius:50%;box-shadow:0 0 8px #22c55e99}.header-action-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;font-size:var(--font-size-sm);font-weight:600;border-radius:var(--border-radius);border:1px solid transparent;cursor:pointer;transition:all .2s ease;line-height:1.5;text-decoration:none}.header-action-btn:disabled,.btn:disabled{opacity:.6;cursor:not-allowed;filter:grayscale(100%)}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background-color:var(--primary-color-hover);box-shadow:0 2px 4px #007bff4d}.btn-secondary{background-color:#fff;color:var(--text-color-dark);border-color:var(--border-color)}.btn-secondary:hover:not(:disabled){background-color:var(--background-color);border-color:var(--tertiary-border)}.save-btn{background-color:var(--success-color);color:#fff}.save-btn:hover:not(:disabled){background-color:#16a34a}.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--spacing-md)}.form-group label{font-size:var(--font-size-sm);font-weight:600;color:var(--text-color-dark)}.form-group input,.form-group textarea,.form-group select{width:100%;padding:10px;font-family:inherit;font-size:var(--font-size-base);color:var(--text-color-dark);background-color:#fff;border:1px solid var(--border-color);border-radius:var(--border-radius);transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}.form-group textarea{resize:vertical;min-height:100px}.form-group input[readOnly],.form-group textarea[readOnly]{background-color:var(--background-color);border-color:var(--border-color);color:var(--text-color-light);cursor:default}.form-row{display:flex;gap:var(--spacing-md)}.form-row .form-group{flex:1}.form-row.three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--spacing-md)}.archive-content{padding:0;flex:1;display:flex;flex-direction:column;overflow:hidden;height:100%}.controls-container{display:flex;flex-direction:column;gap:var(--spacing-md);flex-shrink:0;padding:0 var(--spacing-lg);margin-top:var(--spacing-md);margin-bottom:var(--spacing-md)}.glossary-form{display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:12px;background-color:#fff;padding:16px;border:1px solid var(--border-color);border-radius:var(--border-radius);align-items:center;box-shadow:0 1px 3px #0000000d}.glossary-form input{width:100%;padding:10px 12px;font-size:var(--font-size-sm);border:1px solid var(--tertiary-border);border-radius:var(--border-radius);transition:border-color .2s}.glossary-form input:focus{outline:none;border-color:var(--primary-color)}.glossary-form button{height:40px;padding:0 24px;white-space:nowrap}@media (max-width: 1000px){.glossary-form{grid-template-columns:1fr 1fr}.glossary-form button{grid-column:span 2;width:100%}}.search-wrapper{position:relative;display:flex;align-items:center;width:100%;max-width:100%}.search-bar{width:100%;padding:12px 16px 12px 40px;font-size:var(--font-size-base);border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:#fff;box-shadow:0 1px 2px #0000000d;transition:all .2s}.search-bar:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}.search-highlight{background-color:#fef08a;color:#000;font-weight:700;padding:0 2px;border-radius:2px}.clear-search-btn{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:transparent;border:none;cursor:pointer;color:var(--text-color-light);font-size:1.2rem;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.clear-search-btn:hover{background-color:#0000000d;color:var(--danger-color)}.table-container{flex:1;overflow:auto;margin:0 var(--spacing-lg);border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:#fff;position:relative;box-shadow:0 1px 3px #0000000d;max-height:100%}.document-table{width:100%;min-width:1200px;border-collapse:separate;border-spacing:0;font-size:var(--font-size-sm);table-layout:fixed}.document-table th,.document-table td{padding:14px 16px;text-align:right;border-bottom:1px solid var(--border-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-table th{background-color:#f8fafc;color:var(--text-color-dark);font-weight:700;position:sticky;top:0;z-index:20;-webkit-user-select:none;user-select:none;border-bottom:1px solid var(--tertiary-border);box-shadow:0 2px 4px #0000000d}.document-table th .header-content{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.document-table th .header-content.cursor-pointer{cursor:pointer}.document-table th .header-content.cursor-pointer:hover{color:var(--primary-color)}.resizer{position:absolute;left:0;top:0;height:100%;width:5px;cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none;z-index:10;background-color:transparent}.document-table th:hover .resizer{background-color:#cbd5e1;opacity:.5}.resizer:active,.resizer:hover{background-color:var(--primary-color);opacity:1}.document-table tbody tr{transition:background-color .1s}.document-table tbody tr:hover{background-color:#f1f5f9}.document-table tbody .clickable-row{cursor:pointer}.table-actions{display:flex;justify-content:center;align-items:center;gap:12px}.action-btn{background-color:#fff;border:1px solid var(--border-color);cursor:pointer;font-size:1rem;width:32px;height:32px;border-radius:50%;transition:all .2s ease;display:flex;align-items:center;justify-content:center;color:var(--text-color-light);box-shadow:0 1px 2px #0000000d}.action-btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.action-btn.delete{color:#b91c1c;background-color:#fef2f2;border-color:#fecaca}.action-btn.delete:hover{background-color:#fee2e2;border-color:#fca5a5}.action-btn.assign{color:#b45309;background-color:#fffbeb;border-color:#fde68a}.action-btn.assign:hover{background-color:#fef3c7;border-color:#fcd34d}.action-btn.edit{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.action-btn.edit:hover{background-color:#dbeafe}.action-btn.save{color:#15803d;background-color:#f0fdf4;border-color:#bbf7d0}.action-btn.cancel{color:#334155;background-color:#f8fafc;border-color:#cbd5e1}.document-table tbody tr:has(input){background-color:#f8fafc}.document-table input{width:100%;padding:6px 8px;border:1px solid var(--tertiary-border);border-radius:var(--border-radius);font-size:var(--font-size-sm);background-color:#fff;transition:all .2s}.document-table input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #007bff1a}.pagination-container{display:flex;justify-content:space-between;align-items:center;padding:15px var(--spacing-lg);border-top:none;background-color:transparent;flex-shrink:0}.items-per-page-info{font-size:var(--font-size-sm);color:var(--text-color-light)}.items-per-page-info strong{color:var(--text-color-dark)}.pagination-controls{display:flex;align-items:center;gap:6px}.pagination-controls button{padding:8px 14px;font-size:var(--font-size-sm);border:1px solid var(--tertiary-border);background-color:#fff;box-shadow:0 1px 2px #0000000d;border-radius:var(--border-radius);cursor:pointer;color:var(--text-color-dark);transition:all .2s;font-weight:500}.pagination-controls button:hover:not(:disabled){background-color:#fff;border-color:var(--primary-color);color:var(--primary-color);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.pagination-controls button:disabled{opacity:.6;cursor:not-allowed;background-color:#ffffff80;box-shadow:none;border-color:var(--border-color)}.page-indicator{font-size:var(--font-size-sm);font-weight:600;padding:0 16px;color:var(--text-color-dark)}.column-manager-overlay{position:fixed;inset:0;background-color:#0000000d;z-index:var(--z-modal)}.column-manager{position:absolute;top:115px;left:32px;width:320px;max-height:60vh;background-color:#fff;border-radius:var(--border-radius);box-shadow:0 10px 25px -5px #00000026,0 4px 6px -2px #0000000d;padding:16px;border:1px solid var(--border-color);display:flex;flex-direction:column;direction:rtl}.column-manager h4{margin:0 0 16px;text-align:right;font-size:1.1rem;font-weight:700;color:var(--text-color-dark)}.column-manager-instruction{display:none}.column-manager-list{list-style:none;margin:0;overflow-y:auto;flex-grow:1;padding:0 0 0 4px}.column-manager-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background-color:#f8fafc;border:1px solid var(--border-color);border-radius:4px;margin-bottom:6px;transition:all .2s}.column-manager-item:hover{border-color:var(--primary-color);background-color:#fff;box-shadow:0 2px 4px #0000000d}.column-manager-item label{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:.9rem;color:var(--text-color-dark);flex-grow:1;-webkit-user-select:none;user-select:none}.column-manager-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--primary-color);margin:0}.column-manager-drag-handle{cursor:grab;color:#94a3b8;display:flex;align-items:center;justify-content:center;padding-left:4px;font-size:1.2rem;order:2}.column-manager-drag-handle:active{cursor:grabbing;color:var(--primary-color)}.document-page-resizable{height:100%;width:100%;background-color:#fff}.pane{display:flex;flex-direction:column;height:100%;overflow:hidden;background-color:#fff}.doc-editor-pane{background-color:#fff;border:none;border-radius:0;position:relative;padding:0}.doc-editor-pane iframe{width:100%;height:100%;border:none;display:block}.placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-color-light);text-align:center;font-size:1.1rem;background-color:#f8fafc}.resize-handle{position:relative;flex-basis:1px;cursor:col-resize;background-color:transparent;border-left:1px solid var(--border-color);display:flex;justify-content:center;align-items:center;transition:all .2s ease;z-index:10}.resize-handle:before{content:"";position:absolute;inset:0 -4px;z-index:-1}.resize-handle:hover,.resize-handle[data-resize-handle-active]{background-color:var(--primary-color);border-left-color:var(--primary-color)}.timeline-content-wrapper,.details-content-wrapper{flex-grow:1;overflow-y:auto;padding:20px 24px!important;direction:ltr;box-sizing:border-box}.timeline-content-wrapper>*,.details-content-wrapper>*{direction:rtl;width:100%;padding:0}.details-table{width:100%;border-collapse:separate;border-spacing:0}.details-table td{padding:12px 8px;border-bottom:1px solid var(--background-global);vertical-align:top;font-size:var(--font-size-base)}.details-table td:first-child{font-weight:600;color:var(--text-color-dark);white-space:nowrap;width:120px;padding-left:12px}.details-table tr:not(.title-row) td:last-child{color:var(--text-color-dark);word-break:break-word}.details-table tr.title-row td:last-child{font-weight:700;color:var(--primary-color);font-size:1.1rem;line-height:1.4}.details-table input,.details-table textarea{width:100%;padding:8px 10px;font-family:inherit;font-size:var(--font-size-base);border:1px solid var(--tertiary-border);border-radius:var(--border-radius);background-color:#fff;transition:border-color .2s,box-shadow .2s;resize:vertical}.details-table input:focus,.details-table textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}.pdf-manager-layout{display:flex;flex-direction:column;height:100%;width:100%;background-color:#fff}.file-selector-wrapper{padding:var(--spacing-sm) var(--spacing-md);border-bottom:1px solid var(--border-color);background-color:#fff;flex-shrink:0}.file-selector{width:100%;padding:8px;font-size:var(--font-size-sm);border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:#fff;cursor:pointer}.pdf-viewer-iframe-container,.image-viewer-container{height:calc(100% - 24px)!important;width:calc(100% - 24px)!important;background-color:#f1f5f9;overflow:hidden;display:flex;align-items:center;justify-content:center;margin:12px;border-radius:8px;border:1px solid var(--border-color);box-shadow:0 2px 5px #0000000d}.pdf-viewer-iframe-container iframe,.image-viewer-container img{width:100%;height:100%;border:none}.image-viewer-container img{object-fit:contain}.timeline-tree,.child-nodes{list-style:none;padding:0;margin:0}ul.timeline-tree{padding-top:16px;padding-bottom:16px}.timeline-node{margin-top:8px}.stage-node.timeline-node{margin-top:16px}.node-wrapper{display:flex;align-items:center;border-radius:var(--border-radius);transition:all .2s ease;background-color:#fff;border:1px solid var(--border-color);border-right-width:4px;box-shadow:0 1px 2px #0000000d;position:relative}.timeline-node[data-depth="1"]{margin-right:20px}.timeline-node[data-depth="2"]{margin-right:40px}.toggle-placeholder{width:28px;flex-shrink:0;display:flex;justify-content:center}.toggle-btn{background:none;border:none;cursor:pointer;font-size:12px;color:var(--text-color-light);padding:4px}.toggle-btn:hover{color:var(--primary-color)}.node-content{display:flex;align-items:center;flex-grow:1;min-width:0;cursor:pointer;padding:8px 12px 8px 8px}.node-text-content{flex-grow:1;min-width:0}.node-title,.document-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.stage-node>.node-wrapper{min-height:56px;border-right-color:var(--primary-color);background-color:#f8fafc}.stage-node .node-title{font-size:1.25rem;font-weight:700;color:var(--text-color-dark)}.sub_stage-node>.node-wrapper{min-height:48px}.sub_stage-node .node-title{font-size:1.1rem;font-weight:600;color:var(--text-color-dark)}.sub-type-geographical>.node-wrapper{border-right-color:var(--info-color)}.sub-type-solution>.node-wrapper{border-right-color:var(--success-color)}.document-node>.node-wrapper{min-height:42px;border-right-width:4px;border-right-color:var(--border-color)}.document-node.assigned>.node-wrapper{border-right-color:var(--text-color-light)}.document-node .node-title{font-size:1rem;color:var(--text-color-dark)}.document-node:hover .node-title{color:var(--primary-color)}.node-icon{margin-left:12px;flex-shrink:0;display:flex;align-items:center;font-size:18px;color:var(--text-color-light)}.main-stage-icon{font-size:22px;color:#d97706}.timeline-node .action-btn{color:#fff;border:none;border-radius:50%;width:28px;height:28px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s cubic-bezier(.175,.885,.32,1.275);box-shadow:0 2px 4px #00000026;background-color:var(--text-color-light)}.timeline-node .action-btn:hover{transform:scale(1.15);box-shadow:0 4px 6px #0003}.timeline-node .action-btn.add{background-color:var(--success-color)}.timeline-node .action-btn.assign{background-color:var(--info-color)}.timeline-node .action-btn.edit{background-color:var(--warning-color);color:#fff}.timeline-node .action-btn.delete{background-color:var(--danger-color)}.timeline-node .action-btn.unassign{background-color:#94a3b8}.timeline-node .action-btn.move{background-color:#64748b}.node-actions{position:absolute;left:6px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:6px;background-color:#ffffffe6;padding:4px 8px;border-radius:20px;box-shadow:0 2px 5px #0000001a;z-index:10;opacity:0;pointer-events:none;transition:opacity .2s ease-in-out}.timeline-node.selected>.node-wrapper:hover .node-actions{opacity:1;pointer-events:auto}@media (max-width: 768px){.timeline-node.selected>.node-wrapper .node-actions{opacity:1;pointer-events:auto;background-color:#fff}}.timeline-node:not(.selected)>.node-wrapper:hover{background-color:#f1f5f9;border-color:#cbd5e1;transform:translate(-2px)}.timeline-node.selected>.node-wrapper{background-color:#eff6ff;border-color:var(--primary-color)!important;box-shadow:0 4px 6px #2563eb1a}.flash-highlight{animation:flash-animation 2s ease-out}@keyframes flash-animation{0%{background-color:#fef3c7;transform:scale(1.02)}to{background-color:#eff6ff;transform:scale(1)}}.overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:var(--z-modal);direction:rtl;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}.modal{background:#fff;padding:var(--spacing-lg);border-radius:var(--border-radius);width:90%;max-width:500px;max-height:90vh;overflow-y:auto;outline:none;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:slideUp .3s cubic-bezier(.16,1,.3,1)}.modal h2{margin-top:0;text-align:center;margin-bottom:var(--spacing-lg);color:var(--text-color-dark);font-weight:700}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.content{padding:var(--spacing-sm)}.panel-header{flex-direction:column;align-items:flex-start;gap:var(--spacing-sm)}.header-actions{width:100%;justify-content:space-between}.form-row,.form-row.three-columns{flex-direction:column;grid-template-columns:1fr}.search-wrapper{max-width:100%}.table-container{overflow-x:auto}.document-table th,.document-table td{white-space:nowrap}}.hidden{display:none!important}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.text-muted{color:var(--text-color-light)}.notification{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:var(--z-tooltip);min-width:300px;max-width:90vw;padding:12px 24px;color:#fff;text-align:center;font-size:var(--font-size-base);font-weight:600;border-radius:50px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;animation:slideDownFade .4s cubic-bezier(.175,.885,.32,1.275) forwards;pointer-events:none}.notification.success{background-color:var(--success-color)}.notification.error{background-color:var(--danger-color)}.notification.info{background-color:var(--info-color)}@keyframes slideDownFade{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}.file-manager-modal{width:95vw!important;max-width:1600px!important;height:90vh!important;display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;background-color:#f8f9fa}.modal-header-custom{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid var(--border-color);background-color:#fff;flex-shrink:0}.modal-header-custom h2{margin:0;font-size:1.2rem;font-weight:700;color:var(--text-color-dark)}.close-modal-btn{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-color-light);border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s}.close-modal-btn:hover{background-color:#fee2e2;color:#ef4444}.file-manager-content-split{display:grid;grid-template-columns:380px 1fr;gap:20px;flex:1;height:100%;min-height:0;overflow:hidden;padding:20px}.right-sidebar{display:flex;flex-direction:column;gap:16px;height:100%;min-height:0;overflow:hidden}.file-list-container{flex:1;background-color:#fff;border:1px solid var(--border-color);border-radius:var(--border-radius);display:flex;flex-direction:column;overflow:hidden}.file-list-header{padding:12px;border-bottom:1px solid var(--border-color);background-color:#f8fafc;font-weight:600;color:var(--text-color-dark);font-size:.95rem;flex-shrink:0}.file-list{list-style:none;padding:0;margin:0;flex-grow:1;overflow-y:auto}.file-list li{padding:8px 12px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:background-color .1s}.file-list li:hover{background-color:#f1f5f9}.file-list li.selected{background-color:#eff6ff;border-right:4px solid var(--primary-color)}.file-name{font-size:.9rem;color:var(--text-color-dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1}.file-manager-actions{display:flex;gap:8px;padding:8px;background-color:#f8fafc;border-top:1px solid var(--border-color);flex-shrink:0}.file-manager-actions button{flex:1;padding:6px;font-size:.85rem}.rename-section{background-color:#fff;border:1px solid var(--border-color);border-radius:var(--border-radius);padding:16px;flex-shrink:0;box-shadow:0 2px 5px #0000000d}.rename-section h5{margin:0 0 12px;font-size:1rem;border-bottom:1px solid var(--border-color);padding-bottom:8px;color:var(--text-color-dark)}.rename-inputs{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.rename-input-group{display:flex;align-items:center;gap:8px}.rename-input-group label{font-size:.85rem;width:50px;color:var(--text-color-light)}.rename-input-group input{flex:1;padding:6px 8px;border:1px solid var(--tertiary-border);border-radius:4px;font-size:.9rem}.rename-input-group input:focus{border-color:var(--primary-color);outline:none}.rename-actions-bar{display:flex;gap:10px;justify-content:space-between;margin-top:12px}.rename-actions-bar button{flex:1}.file-preview-section{height:100%;min-height:0;display:flex;flex-direction:column;background-color:#e2e8f0;border-radius:var(--border-radius);border:1px solid var(--border-color);overflow:hidden}.file-preview-viewer{flex:1;height:100%;width:100%;display:flex;align-items:center;justify-content:center;position:relative}.file-preview-viewer>*{width:100%!important;height:100%!important;display:block}.file-preview-viewer iframe,.file-preview-viewer img{width:100%!important;height:100%!important;border:none;object-fit:contain}.placeholder{display:flex;align-items:center;justify-content:center;color:var(--text-color-light);font-size:1.2rem}@media (max-width: 900px){.file-manager-content-split{grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow-y:auto}.right-sidebar{height:auto;max-height:50vh}.file-preview-section{height:400px}}.people-grid-container{flex-grow:1;overflow-y:auto;padding:0 var(--spacing-lg)}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px;padding:10px 10px 20px}.person-card{background-color:#fff;border:1px solid var(--border-color);border-radius:var(--border-radius);padding:16px;box-shadow:0 2px 4px #0000000d;display:flex;flex-direction:column;justify-content:space-between;transition:all .2s ease;height:100%;position:relative}.person-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:var(--primary-color);z-index:2}.person-card-horizontal{display:flex;gap:16px;align-items:flex-start;margin-bottom:12px}.person-image-wrapper{flex-shrink:0}.person-info-wrapper{flex-grow:1;min-width:0;display:flex;flex-direction:column;gap:4px}.person-header h3{margin:0;font-size:1.1rem;color:var(--text-color-dark);line-height:1.2}.person-subname{font-size:.85rem;color:var(--text-color-light);font-style:italic}.person-details{margin-top:4px;overflow:hidden}.detail-row.role{font-weight:600;color:var(--text-color-dark);margin-bottom:4px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.detail-row{display:flex;align-items:center;gap:6px;margin:2px 0;font-size:.85rem;color:var(--text-color-light)}.detail-row.role{font-weight:600;color:var(--text-color-dark);margin-bottom:4px;line-height:1.3}.person-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.tag{background-color:#f1f5f9;color:#475569;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:500;border:1px solid #e2e8f0}.person-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid #f1f5f9;margin-top:auto}.person-modal{width:95%;max-width:600px}.person-form .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
