.gantt .grid-background{fill:none}.gantt .grid-header{fill:#fff;stroke:#e0e0e0;stroke-width:1.4}.gantt .grid-row{fill:#fff}.gantt .grid-row:nth-child(2n){fill:#f5f5f5}.gantt .row-line{stroke:#ebeff2}.gantt .tick{stroke:#e0e0e0;stroke-width:.2}.gantt .tick.thick{stroke-width:.4}.gantt .today-highlight{fill:#fcf8e3;opacity:.5}.gantt .arrow{fill:none;stroke:#666;stroke-width:1.4}.gantt .bar{fill:#b8c2cc;stroke:#8d99a6;stroke-width:0;transition:stroke-width .3s ease;-webkit-user-select:none;user-select:none}.gantt .bar-progress{fill:#a3a3ff}.gantt .bar-invalid{fill:transparent;stroke:#8d99a6;stroke-width:1;stroke-dasharray:5}.gantt .bar-invalid~.bar-label{fill:#555}.gantt .bar-label{fill:#fff;dominant-baseline:central;text-anchor:middle;font-size:12px;font-weight:lighter}.gantt .bar-label.big{fill:#555;text-anchor:start}.gantt .handle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden;transition:opacity .3s ease}.gantt .bar-wrapper{cursor:pointer;outline:none}.gantt .bar-wrapper:hover .bar{fill:#a9b5c1}.gantt .bar-wrapper:hover .bar-progress{fill:#8a8aff}.gantt .bar-wrapper:hover .handle{visibility:visible;opacity:1}.gantt .bar-wrapper.active .bar{fill:#a9b5c1}.gantt .bar-wrapper.active .bar-progress{fill:#8a8aff}.gantt .lower-text,.gantt .upper-text{font-size:12px;text-anchor:middle}.gantt .upper-text{fill:#555}.gantt .lower-text{fill:#333}.gantt .hide{display:none}.gantt-container{position:relative;overflow:auto;font-size:12px}.gantt-container .popup-wrapper{position:absolute;top:0;left:0;background:#000c;padding:0;color:#959da5;border-radius:3px}.gantt-container .popup-wrapper .title{border-bottom:3px solid #a3a3ff;padding:10px}.gantt-container .popup-wrapper .subtitle{padding:10px;color:#dfe2e5}.gantt-container .popup-wrapper .pointer{position:absolute;height:5px;margin:0 0 0 -5px;border:5px solid transparent;border-top-color:#000c}:root{--primary: #3b82f6;--primary-hover: #2563eb;--secondary: #64748b;--danger: #ef4444;--bg: #ffffff;--bg-secondary: #f8fafc;--border: #e2e8f0;--text: #1e293b;--text-secondary: #64748b}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;color:var(--text);background:var(--bg-secondary)}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:var(--bg);border-bottom:1px solid var(--border);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.header-left{display:flex;align-items:center;gap:1rem}.app-header h1{font-size:1.25rem;font-weight:600}@media (min-width: 768px){.app-header h1{font-size:1.5rem}}.help-button{width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;border:none;font-size:1.25rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.help-button:hover{background:var(--primary-hover)}.header-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.app-main{flex:1;padding:1rem;overflow:auto}@media (min-width: 768px){.app-main{padding:2rem}}.project-title-section{margin-bottom:2rem;text-align:center}.project-title{font-size:1.75rem;font-weight:600;color:var(--text);display:inline-block;padding:.5rem 1rem;border-radius:4px;transition:background-color .2s}.project-title:hover{background:var(--bg-secondary)}.edit-hint{font-size:1rem;opacity:.6}@media print{.no-export{display:none!important}}.project-title-input{font-size:1.75rem;font-weight:600;text-align:center;padding:.5rem 1rem;border:2px solid var(--primary);border-radius:4px;outline:none;min-width:300px}.gantt-container{background:var(--bg);border-radius:8px;padding:1rem;box-shadow:0 1px 3px #0000001a;overflow-x:auto}@media (min-width: 768px){.gantt-container{padding:2rem}}.task-editor{background:var(--bg);border-radius:8px;padding:1rem;max-width:1000px;width:100%;box-shadow:0 1px 3px #0000001a}@media (min-width: 768px){.task-editor{padding:2rem}}.task-editor h3{margin-bottom:1.5rem;font-size:1.25rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-secondary)}.form-group input,.form-group select{width:100%;padding:.5rem;border:1px solid var(--border);border-radius:4px;font-size:1rem}.form-row{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 768px){.form-row{grid-template-columns:1fr 1fr}}.subtasks-section{margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border);background:var(--bg)}.subtasks-section h4{margin-bottom:1rem;font-size:1rem;color:var(--text-secondary)}.subtask-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:var(--bg-secondary);border-radius:4px;margin-bottom:.5rem;gap:.75rem}.subtask-color-picker{position:relative;cursor:pointer;flex-shrink:0}.subtask-color-picker input[type=color]{position:absolute;opacity:0;width:20px;height:20px;cursor:pointer}.subtask-color-indicator{width:20px;height:20px;border-radius:4px;flex-shrink:0;border:1px solid var(--border);cursor:pointer;transition:transform .2s}.subtask-color-picker:hover .subtask-color-indicator{transform:scale(1.1);box-shadow:0 2px 4px #0003}.subtask-info{display:flex;flex-direction:column;gap:.5rem;flex:1}.subtask-name{font-weight:500}.subtask-name-input{font-weight:500;padding:.25rem .5rem;border:1px solid var(--border);border-radius:4px;font-size:.95rem}.subtask-description-input{color:var(--text-secondary);font-size:.875rem;font-style:italic;padding:.25rem .5rem;border:1px solid var(--border);border-radius:4px}.subtask-description{color:var(--text-secondary);font-size:.875rem;font-style:italic}.subtask-dates{color:var(--text-secondary);font-size:.875rem}.subtask-dates-edit{display:flex;align-items:center;gap:.5rem}.subtask-dates-edit input{padding:.25rem .5rem;border:1px solid var(--border);border-radius:4px;font-size:.875rem;color:var(--text-secondary)}.subtask-dates-edit span{color:var(--text-secondary)}.add-subtask{display:grid;grid-template-columns:1fr;gap:.5rem;margin-top:1rem;padding:.75rem;background:var(--bg);border-radius:4px}@media (min-width: 768px){.add-subtask{grid-template-columns:1.5fr 1.5fr 1fr 1fr 60px auto}}.add-subtask input{padding:.5rem;border:1px solid var(--border);border-radius:4px}.form-actions{display:flex;gap:1rem;margin-top:2rem}button{padding:.5rem .75rem;border:none;border-radius:4px;font-size:.875rem;cursor:pointer;transition:background-color .2s}@media (min-width: 768px){button{padding:.5rem 1rem;font-size:1rem}}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-primary:disabled{background:var(--secondary);opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--secondary);color:#fff}.btn-secondary:hover{background:#475569}.import-btn{cursor:pointer;display:inline-block}.btn-lock{background:var(--bg-secondary);border:2px solid var(--border);color:var(--text);font-weight:500}.btn-lock.locked{border-color:#ef4444;color:#ef4444}.btn-lock.locked:hover{background:#fef2f2}.btn-lock.unlocked{border-color:#10b981;color:#10b981}.btn-lock.unlocked:hover{background:#f0fdf4}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.btn-add,.btn-remove{padding:.375rem .75rem;font-size:.875rem}.btn-remove{background:var(--danger);color:#fff}.view-mode-label{display:flex;align-items:center;gap:.5rem;font-weight:500;color:var(--text)}.view-mode-select{padding:.5rem;border:1px solid var(--border);border-radius:4px;background:#fff}.export-dropdown{position:relative}.export-menu{position:absolute;top:100%;right:0;margin-top:.25rem;background:var(--bg);border:1px solid var(--border);border-radius:4px;box-shadow:0 4px 6px #0000001a;z-index:100;min-width:160px}.export-menu button,.export-menu .import-menu-item{display:block;width:100%;padding:.5rem 1rem;text-align:left;background:none;border:none;color:var(--text);cursor:pointer}.export-menu button:hover,.export-menu .import-menu-item:hover{background:var(--bg-secondary)}.import-menu-item{position:relative}.menu-divider{height:1px;background:var(--border);margin:.25rem 0}.loading{display:flex;justify-content:center;align-items:center;min-height:100vh;font-size:1.25rem;color:var(--text-secondary)}.help-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem}.help-modal{background:var(--bg);border-radius:8px;max-width:600px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.help-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--bg)}.help-header h2{margin:0;font-size:1.5rem}.help-close{background:none;border:none;font-size:2rem;cursor:pointer;color:var(--text-secondary);line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.help-close:hover{background:var(--bg-secondary);color:var(--text)}.help-content{padding:1.5rem}.help-content section{margin-bottom:1.5rem}.help-content section:last-child{margin-bottom:0}.help-content h3{font-size:1.1rem;margin-bottom:.5rem;color:var(--text)}.help-content p{margin:0;color:var(--text-secondary);line-height:1.6}.gantt .bar-milestone{fill:var(--primary)}.gantt .bar-task{fill:#60a5fa}.gantt .bar-label{font-weight:500!important;opacity:1!important;pointer-events:none}.gantt .bar-wrapper text{font-weight:500!important;opacity:1!important}.gantt text{fill:#1e293b!important}@media (max-width: 1280px){.app-header{padding:.75rem 1rem}.app-header h1{font-size:1.125rem}.header-actions{gap:.375rem}button{padding:.375rem .625rem;font-size:.8125rem}.view-mode-label{font-size:.8125rem}.view-mode-select{padding:.375rem;font-size:.8125rem}.help-button{width:28px;height:28px;font-size:1.125rem}}@media (max-width: 640px){.app-header{padding:.5rem;gap:.5rem}.app-header h1{font-size:1rem}.header-actions{width:100%;justify-content:flex-start;gap:.25rem}.header-actions button,.header-actions .view-mode-label{font-size:.75rem}button{padding:.25rem .5rem;font-size:.75rem}.view-mode-select{padding:.25rem;font-size:.75rem}.app-main{padding:.5rem}.project-title{font-size:1.25rem;padding:.375rem .75rem}.project-title-input{font-size:1.25rem;padding:.375rem .75rem;min-width:200px}.gantt-container{padding:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.task-editor{padding:.75rem}.task-editor h3{font-size:1.125rem;margin-bottom:1rem}.help-modal-overlay{padding:1rem}.help-modal{max-height:90vh}.help-header,.help-content{padding:1rem}.help-header h2{font-size:1.25rem}.help-content h3{font-size:1rem}.help-content p{font-size:.875rem}}@media (max-width: 1280px) and (max-height: 800px){.app-header{padding:.5rem 1rem}.app-main{padding:.75rem}.project-title-section{margin-bottom:1rem}.project-title{font-size:1.375rem}}.app-footer{background:var(--bg);border-top:1px solid var(--border);padding:1rem 2rem;text-align:center;color:var(--text-secondary);font-size:.875rem}.app-footer a{color:var(--primary);text-decoration:none;font-weight:500;transition:color .2s}.app-footer a:hover{color:var(--primary-hover);text-decoration:underline}.help-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border);text-align:center;color:var(--text-secondary);font-size:.875rem}.help-footer a{color:var(--primary);text-decoration:none;font-weight:500;transition:color .2s}.help-footer a:hover{color:var(--primary-hover);text-decoration:underline}body{margin:0;padding:0}
