        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #f5f5f5;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 30px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 20px;
        }

        h1 {
            font-size: 28px;
            color: #333;
        }

        .controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .role-badge {
            padding: 6px 12px;
            background: #e3f2fd;
            color: #1976d2;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        button {
            padding: 10px 16px;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }

        .btn-primary {
            background: #1976d2;
            color: white;
        }

        .btn-primary:hover {
            background: #1565c0;
        }

        .btn-success {
            background: #4caf50;
            color: white;
        }

        .btn-success:hover {
            background: #45a049;
        }

        .btn-danger {
            background: #f44336;
            color: white;
        }

        .btn-danger:hover {
            background: #da190b;
        }

        .btn-secondary {
            background: #757575;
            color: white;
        }

        .btn-secondary:hover {
            background: #616161;
        }

        .btn-small {
            padding: 6px 12px;
            font-size: 12px;
        }

        .tree {
            margin: 20px 0;
        }

        .tree-item {
            margin: 8px 0;
            border-left: 3px solid #1976d2;
            padding-left: 16px;
            padding: 12px;
            background: #fafafa;
            border-radius: 4px;
        }

        .tree-item-level1 {
            margin-left: 0;
            border-left-width: 4px;
            background: #f5f5f5;
            font-weight: 600;
        }

        .tree-item-level2 {
            margin-left: 20px;
            border-left-color: #42a5f5;
        }

        .tree-item-level3 {
            margin-left: 40px;
            border-left-color: #66bb6a;
        }

        .tree-item-level4 {
            margin-left: 60px;
            border-left-color: #ffa726;
        }

        .item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .item-name {
            flex: 1;
            color: #333;
            word-break: break-word;
        }

        .item-label {
            flex: 1;
            color: #555;
            font-size: 13px;
            font-style: italic;
            word-break: break-word;
        }

        .item-description {
            margin-top: 6px;
            color: #666;
            font-size: 11px;
            word-break: break-word;
        }

        .item-actions {
            display: flex;
            gap: 6px;
        }

        .item-input {
            padding: 8px 12px;
            border: 2px solid #1976d2;
            border-radius: 4px;
            font-family: inherit;
            font-size: 14px;
            width: 100%;
            margin-bottom: 8px;
        }

        .pending-changes {
            background: #fff3e0;
            border-left: 4px solid #ff9800;
            padding: 16px;
            margin: 20px 0;
            border-radius: 4px;
            display: none;
        }

        .pending-changes.show {
            display: block;
        }

        .pending-changes h3 {
            margin-bottom: 12px;
            color: #e65100;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background: white;
            padding: 30px;
            border-radius: 8px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;
        }

        .modal-body {
            margin-bottom: 20px;
        }

        .modal-input {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-family: inherit;
            width: 100%;
            margin-bottom: 12px;
        }

        .modal-footer {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .version-info {
            padding: 12px 16px;
            background: #e8f5e9;
            border-radius: 4px;
            margin-bottom: 20px;
            font-size: 14px;
            color: #2e7d32;
        }

        .status-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 3px;
            font-size: 11px;
            font-weight: 600;
            margin-left: 8px;
        }

        .badge-pending {
            background: #fff3e0;
            color: #e65100;
        }

        .badge-approved {
            background: #e8f5e9;
            color: #2e7d32;
        }

        .add-button {
            display: inline-block;
            margin-top: 8px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 16px;
            }

            .header {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .controls {
                flex-wrap: wrap;
            }

            .item-header {
                flex-direction: column;
                align-items: flex-start;
            }
        }